RAD Studio VCL Reference
|
A TAdoDbxCommand used during Update to delete records in the data source that correspond to deleted rows in the DataSet.
property DeleteCommand: TAdoDbxCommand;
__property TAdoDbxCommand DeleteCommand;
Use this property to store a SQL DELETE statement that you intend to pass to the TAdoDbxDataAdapter multiple times. This property serves as a shorthand method for storing and calling a command that you intend to use multiple times.
When you assign DeleteCommand to a previously created TAdoDbxCommand, the TAdoDbxCommand is not cloned. The DeleteCommand maintains a reference to the previously created TAdoDbxCommand object.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|