Send feedback on this topic.
Teradata.Client.Provider
TdCommandBuilder Constructor(TdDataAdapter)



Teradata.Client.Provider Namespace > TdCommandBuilder Class > TdCommandBuilder Constructor : TdCommandBuilder Constructor(TdDataAdapter)
An instance of TdDataAdapter to attach to and generate TdCommand objects for.
Initializes a new instance of the TdCommandBuilder class.
Syntax
'Declaration
 
Public Function New( _
   ByVal adapter As TdDataAdapter _
)
'Usage
 
Dim adapter As TdDataAdapter
 
Dim instance As New TdCommandBuilder(adapter)
public TdCommandBuilder( 
   TdDataAdapter adapter
)
public:
TdCommandBuilder( 
   TdDataAdapter^ adapter
)

Parameters

adapter
An instance of TdDataAdapter to attach to and generate TdCommand objects for.
Remarks
A new instance of TdCommandBuilder class is initialized with the following default property values. TdCommandBuilder registers an event handler with adapter.RowUpdating event. TdCommandBuilder will dynamically generate a new TdCommand (CommandText and Parameters properties) for every row that it receives a RowUpdating event for.
Property Initial Value
DataAdapter null
QuotePrefix "
QuoteSuffix "
Requirements

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdCommandBuilder Class
TdCommandBuilder Members
Overload List