dotConnect for PostgreSQL Documentation
Devart.Common Namespace / DbDataTable Class / DeleteCommand Property

DeleteCommand Property (DbDataTable)
Gets or sets a SQL statement to delete records from the data set.
Syntax
'Declaration
 
Public Property DeleteCommand As DbCommand
 

Property Value

An System.Data.IDbCommand used during an update operation to delete records in the data source that correspond to deleted rows in the System.Data.DataSet.
Remarks

DeleteCommand uses its own Connection if it is created. Otherwise DeleteCommand uses Connection property.

If the DeleteCommand property is not set, DbDataTable generates necessary SQL statements automatically.

Example
Refer to help on types that derive from DbDataTable for samples on usage of this property.
See Also