dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlCommandBuilder Class / DataAdapter Property

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

    Property Value

    A SqlDataAdapter object that is associated with this SqlCommandBuilder.
    Remarks
    The SqlCommandBuilder registers itself as a listener for SqlDataAdapter.RowUpdating events that are generated by the SqlDataAdapter specified in this property.

    When you create a new instance of SqlCommandBuilder, any existing SqlCommandBuilder associated with this SqlDataAdapter is released.

    See Also