Send feedback on this topic.
Teradata.Client.Provider
DataAdapter Property



Teradata.Client.Provider Namespace > TdCommandBuilder Class : DataAdapter Property
Gets or Sets the associated TdDataAdapter object.
Syntax
'Declaration
 
Public Shadows Property DataAdapter As TdDataAdapter
'Usage
 
Dim instance As TdCommandBuilder
Dim value As TdDataAdapter
 
instance.DataAdapter = value
 
value = instance.DataAdapter
public new TdDataAdapter DataAdapter {get; set;}
public:
new property TdDataAdapter^ DataAdapter {
   TdDataAdapter^ get();
   void set (    TdDataAdapter^ value);
}

Property Value

An instance of TdDataAdapter class. The default value is null.
Exceptions
ExceptionDescription
The TdCommandBuilder is closed / disposed.
Remarks
When DataAdapter property is set, TdCommandBuilder will register with the TdDataAdapter object for RowUpdating events. It is this association using RowUpdating event that enables TdCommandBuilder to generate UPDATE, DELETE and INSERT SQL statements and correctly map the DataTable columns to the Teradata Columns. TdCommandBuilder will also generate parameters associated with all DML statements
Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdCommandBuilder Class
TdCommandBuilder Members