Property | Type | Description | |
---|---|---|---|
BuildNextCommand | SqliteStatement | ||
ClearCommands | void | ||
ClearDataReader | void | ||
GetStatement | SqliteStatement | ||
InitializeForReader | void | ||
SqliteCommand | System |
Method | Description | |
---|---|---|
Cancel ( ) : void |
Not implemented
|
|
Clone ( ) : object |
Clones a command, including all its parameters
|
|
CreateParameter ( ) : |
Create a new parameter
|
|
ExecuteNonQuery ( ) : int |
Execute the command and return the number of rows inserted/updated affected by it.
|
|
ExecuteReader ( ) : |
Overrides the default behavior of DbDataReader to return a specialized SqliteDataReader class
|
|
ExecuteReader ( CommandBehavior behavior ) : |
Overrides the default behavior to return a SqliteDataReader specialization class
|
|
ExecuteScalar ( ) : object |
Execute the command and return the first column of the first row of the resultset (if present), or null if no resultset was returned.
|
|
LastInsertRowID ( ) : long | ||
Prepare ( ) : void |
Does nothing. Commands are prepared as they are executed the first time, and kept in prepared state afterwards.
|
|
SqliteCommand ( ) : System |
Default constructor
|
|
SqliteCommand ( |
Initializes the command and associates it with the specified connection.
|
|
SqliteCommand ( string commandText ) : System |
Initializes the command with the given command text
|
|
SqliteCommand ( string commandText, |
Initializes the command with the given SQL command text and attach the command to the specified connection.
|
|
SqliteCommand ( string commandText, |
Initializes a command with the given SQL, connection and transaction
|
Method | Description | |
---|---|---|
CreateDbParameter ( ) : |
Forwards to the local CreateParameter() function
|
|
Dispose ( bool disposing ) : void |
Disposes of the command and clears all member variables
|
|
ExecuteDbDataReader ( CommandBehavior behavior ) : System.Data.Common.DbDataReader |
Creates a new SqliteDataReader to execute/iterate the array of Sqlite prepared statements
|
Method | Description | |
---|---|---|
BuildNextCommand ( ) : SqliteStatement |
Builds an array of prepared statements for each complete SQL statement in the command text
|
|
ClearCommands ( ) : void |
Clears and destroys all statements currently prepared
|
|
ClearDataReader ( ) : void |
Called by the SqliteDataReader when the data reader is closed.
|
|
GetStatement ( int index ) : SqliteStatement | ||
InitializeForReader ( ) : void |
This function ensures there are no active readers, that we have a valid connection, that the connection is open, that all statements are prepared and all parameters are assigned in preparation for allocating a data reader.
|
|
SqliteCommand ( |
protected CreateDbParameter ( ) : |
||
return |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | Whether or not the class is being explicitly or implicitly disposed |
return | void |
protected ExecuteDbDataReader ( CommandBehavior behavior ) : System.Data.Common.DbDataReader | ||
behavior | CommandBehavior | The behavior the data reader should adopt |
return | System.Data.Common.DbDataReader |
public ExecuteReader ( CommandBehavior behavior ) : |
||
behavior | CommandBehavior | The flags to be associated with the reader |
return |
public SqliteCommand ( |
||
connection | The connection to associate with the command | |
return | System |
public SqliteCommand ( string commandText ) : System | ||
commandText | string | The SQL command text |
return | System |
public SqliteCommand ( string commandText, |
||
commandText | string | The SQL command text |
connection | The connection to associate with the command | |
return | System |
public SqliteCommand ( string commandText, |
||
commandText | string | The SQL command text |
connection | The connection to associate with the command | |
transaction | The transaction the command should be associated with | |
return | System |