dotConnect for MySQL 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.

    See Also