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.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also