dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlCommandBuilder Class / SqlCommandBuilder Constructor / SqlCommandBuilder Constructor(SqlDataAdapter)

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

    Parameters

    adapter
    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