DbCommandBuilder.DataAdapter Property

 

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

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

[BrowsableAttribute(false)]
public DbDataAdapter DataAdapter { get; set; }

Property Value

Type: System.Data.Common.DbDataAdapter

A DbDataAdapter object.

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

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

.NET Framework
Available since 2.0
Return to top
Show: