dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2CommandBuilder Class / DataAdapter Property

In This Topic
    DataAdapter Property
    In This Topic
    Gets or sets a DB2DataAdapter object for which this DB2CommandBuilder object will generate SQL statements.
    Syntax
    'Declaration
     
    Public Shadows Property DataAdapter As DB2DataAdapter
    public new DB2DataAdapter DataAdapter {get; set;}

    Property Value

    A DB2DataAdapter 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.

    See Also