command class : command(string) fitter
Description
Returns a new instance of command class.
Syntax
new command(string commandText)
Arguments
Class | Name | Description |
string | commandText | SQL statement. |
Return value
Class | Description |
command | A new instance of command class. |
Sample code
1: | command cmm = new command("create table sometable (id int, name text);"); |
Notes
The returned instance has been initialized but database connection has not been set.
You need to set the database connection in the Connection getter.
Links for reference
None.