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
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdCommandBuilder Class
TdCommandBuilder Members
Overload List