System.Data.Common.DbDataAdapter.InsertCommand Property

Gets or sets a command used to insert new records into the data source.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public DbCommand InsertCommand { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

During DbDataAdapter.Update(System.Data.DataSet), if this property is not set and primary key information is present in the System.Data.DataSet, the System.Data.IDbDataAdapter.InsertCommand will be automatically generated.

Requirements

Namespace: System.Data.Common
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 2.0.0.0