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

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

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.

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