dotConnect for SugarCRM Documentation
Devart.Data.Sugar Namespace / SugarCommandBuilder Class / SugarCommandBuilder Constructor / SugarCommandBuilder Constructor(SugarDataAdapter)

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

Parameters

adapter
Remarks
The SugarCommandBuilder registers itself as a listener for SugarDataAdapter.RowUpdating events that are generated by the SugarDataAdapter specified in this property.

When you create a new instance of SugarCommandBuilder, any existing SugarCommandBuilder associated with this SugarDataAdapter 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