RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DataStoreCommand.DataStoreCommand Constructor ()

Initializes a new instance of the DataStoreCommand class.

Pascal
constructor Create;
constructor Create(cmdText: string);
constructor Create(cmdText: string; connection: DataStoreConnection);
constructor Create(cmdText: string; connection: DataStoreConnection; transaction: DataStoreTransaction);
C++
DataStoreCommand();
DataStoreCommand(string cmdText);
DataStoreCommand(string cmdText, DataStoreConnection connection);
DataStoreCommand(string cmdText, DataStoreConnection connection, DataStoreTransaction transaction);

DataStoreCommand initializes a new instance of the DataStoreCommand class, which is an implementation of the DbCommand class.  

When a new instance of DataStoreCommand is created, the command properties Connection and CommandText should be set. 

One form of this constructor sets the initial value for CommandText.  

One form of this constructor sets the initial value for the properties CommandText and Connection

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!