DeleteCommand property

Specifies a ULCommand object that is executed against the database when DbDataAdapter.Update(System.Data.DataSet) is called to delete rows in the database that correspond to deleted rows in the System.Data.DataSet.

Syntax
Visual Basic

Public Property DeleteCommand As ULCommand
C#

public ULCommand DeleteCommand  { get; set; }
Property value

A ULCommand object that is executed to delete rows in the database that correspond to deleted rows in the System.Data.DataSet.

Remarks

When DeleteCommand is assigned to an existing ULCommand object, the ULCommand object is not cloned. The DeleteCommand maintains a reference to the existing ULCommand.

This is the strongly-typed version of System.Data.IDbDataAdapter.DeleteCommand and System.Data.Common.DbDataAdapter.DeleteCommand.

See also