DB2CommandBuilder.DataAdapter Property
Gets or sets a DB2DataAdapter object for which this DB2CommandBuilder object will generate SQL statements.
- Namespace:
IBM.Data.DB2
- Assembly:
IBM.Data.DB2
(inIBM.Data.DB2.dll
)
Syntax
[Visual Basic]
Public Property DataAdapter As DB2DataAdapter
[C#]
public DB2DataAdapter
DataAdapter {get; set;}
[C++]
public: __property DB2DataAdapter
* get_DataAdapter();
public: __property void set_DataAdapter(DB2DataAdapter
*);
[JScript]
public function get DataAdapter() : DB2DataAdapter
;
public function set DataAdapter(DB2DataAdapter
);
Property value
A DB2®DataAdapter object that is associated with this DB2CommandBuilder .
Remarks
The DB2CommandBuilder registers itself as a listener for DB2DataAdapter.RowUpdating events that are generated by the DB2DataAdapter specified in this property.
When you create a new instance of DB2CommandBuilder, any existing DB2CommandBuilder associated with this DB2DataAdapter is released.