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

UpdateCommand Property (DbDataTable)
Gets or sets a SQL statement used to update records in the data source.
Syntax
'Declaration
 
Public Property UpdateCommand As DbCommand
 

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