MySQL Connector/Net |
MySqlCommandBuilder..::.DataAdapter Property |
MySqlCommandBuilder Class See Also Send Feedback |
Gets or sets a MySqlDataAdapter object for which SQL statements are automatically generated.
Namespace:
MySql.Data.MySqlClient
Assembly:
MySql.Data (in MySql.Data.dll) Version: 6.2.2.0
Syntax
C# |
---|
public MySqlDataAdapter DataAdapter { get; set; } |
Visual Basic (Declaration) |
---|
Public Property DataAdapter As MySqlDataAdapter |
Visual C++ |
---|
public: property MySqlDataAdapter^ DataAdapter { MySqlDataAdapter^ get (); void set (MySqlDataAdapter^ value); } |
Field Value
A MySqlDataAdapter object.Remarks
The MySqlCommandBuilder registers itself as a listener for RowUpdating events that are generated by the MySqlDataAdapter specified in this property.
When you create a new instance MySqlCommandBuilder, any existing MySqlCommandBuilder associated with this MySqlDataAdapter is released.