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



Teradata.Client.Provider Namespace > TdDataAdapter Class : SelectCommand Property
Gets or sets a TdCommand used to fill a DataTable(s) with the corresponding result set(s) from the Advanced SQL Engine.
Syntax
'Declaration
 
Public Shadows Property SelectCommand As TdCommand
'Usage
 
Dim instance As TdDataAdapter
Dim value As TdCommand
 
instance.SelectCommand = value
 
value = instance.SelectCommand
public new TdCommand SelectCommand {get; set;}
public:
new property TdCommand^ SelectCommand {
   TdCommand^ get();
   void set (    TdCommand^ value);
}

Property Value

Specifies a TdCommand used to fill a DataTable(s) with the corresponding result set(s) from the Advanced SQL Engine. The default value is null.
Remarks

SelectCommand property is used to fill a DataTable(s) with the corresponding result set(s) from the SQL Engine. See �Setting Up DataTable and DataColumn Mappings� for additional information on how Teradata columns are mapped to DataColumns.

When the SelectCommand property is set, the TdCommand object passed in is not cloned but rather a reference to the object is maintained by the TdDataAdapter.

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

TdDataAdapter Class
TdDataAdapter Members