System.Data.Common.DbCommandBuilder.DataAdapter Property

Gets or sets a System.Data.Common.DbDataAdapter object for which Transact-SQL statements are automatically generated.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

The System.Data.Common.DbCommandBuilder registers itself as a listener for System.Data.OleDb.OleDbDataAdapter.RowUpdating events that are generated by the System.Data.Common.DbDataAdapter specified in this property.

When you create a new instance of System.Data.Common.DbCommandBuilder, any existing System.Data.Common.DbCommandBuilder associated with this System.Data.Common.DbDataAdapter is released.

Requirements

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