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.

    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