OracleDataAdapter.SelectCommand Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets an SQL statement or stored procedure used to select records in the database.
public:
property System::Data::OracleClient::OracleCommand ^ SelectCommand { System::Data::OracleClient::OracleCommand ^ get(); void set(System::Data::OracleClient::OracleCommand ^ value); };
public System.Data.OracleClient.OracleCommand SelectCommand { get; set; }
member this.SelectCommand : System.Data.OracleClient.OracleCommand with get, set
Public Property SelectCommand As OracleCommand
Property Value
An OracleCommand that is used during a fill operation to select records from database for placement in the DataSet.
Remarks
When SelectCommand is assigned to a previously created OracleCommand, the OracleCommand is not cloned. Instead, the SelectCommand maintains a reference to the previously created OracleCommand object.
If SelectCommand does not return any rows, no tables are added to the DataSet, and no exception is raised.