dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2CommandBuilder Class / DB2CommandBuilder Constructor / DB2CommandBuilder Constructor(DB2DataAdapter)

In This Topic
    DB2CommandBuilder Constructor(DB2DataAdapter)
    In This Topic
    Initializes a new instance of the DB2CommandBuilder class with the associated DB2DataAdapter object.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal adapter As DB2DataAdapter _
    )
    public DB2CommandBuilder( 
       DB2DataAdapter adapter
    )

    Parameters

    adapter
    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