dotConnect for SQLite Documentation
Devart.Common Namespace / DbDataTable Class / UpdateCommand Property

In This Topic
    UpdateCommand Property (DbDataTable)
    In This Topic
    Gets or sets a SQL statement used to update records in the data source.
    Syntax
    'Declaration
     
    Public Property UpdateCommand As DbCommand
    public DbCommand UpdateCommand {get; set;}

    Property Value

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

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

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

    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