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

In This Topic
    DeleteCommand Property (DbDataTable)
    In This Topic
    Gets or sets a SQL statement to delete records from the data set.
    Syntax
    'Declaration
     
    Public Property DeleteCommand As DbCommand
    public DbCommand DeleteCommand {get; set;}

    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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also