DbDataAdapter::IDbDataAdapter::InsertCommand Property


Gets or sets an SQL statement used to insert new records into the data source.

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

property IDbCommand^ InsertCommand {
	virtual IDbCommand^ get() sealed = IDbDataAdapter::InsertCommand::get;
	virtual void set(IDbCommand^ value) sealed = IDbDataAdapter::InsertCommand::set;

Property Value

Type: System.Data::IDbCommand^

An IDbCommand used during Update to insert records in the data source for new rows in the data set.

This member is an explicit interface member implementation. It can be used only when the DbDataAdapter instance is cast to an IDbDataAdapter interface.

For more information, see InsertCommand.

.NET Framework
Available since 2.0
Return to top