GZ.Modular.Log
Creates a new instance. The ctor is marked private since all members are static.
Creates the command.
Connection.
Command text.
Command parameters.
SQLite Command
Creates the command.
Connection string.
Command text.
Command parameters.
SQLite Command
Creates the parameter.
Name of the parameter.
Parameter type.
Parameter value.
SQLiteParameter
Shortcut method to execute dataset from SQL Statement and object[] arrray of parameter values
SQLite Connection string
SQL Statement with embedded "@param" style parameter names
object[] array of parameter values
Shortcut method to execute dataset from SQL Statement and object[] arrray of parameter values
Connection.
Command text.
Param list.
Executes the dataset from a populated Command object.
Fully populated SQLiteCommand
DataSet
Executes the dataset in a SQLite Transaction
SQLiteTransaction. Transaction consists of Connection, Transaction, /// and Command, all of which must be created prior to making this method call.
Command text.
Sqlite Command parameters.
DataSet
user must examine Transaction Object and handle transaction.connection .Close, etc.
Executes the dataset with Transaction and object array of parameter values.
SQLiteTransaction. Transaction consists of Connection, Transaction, /// and Command, all of which must be created prior to making this method call.
Command text.
object[] array of parameter values.
DataSet
user must examine Transaction Object and handle transaction.connection .Close, etc.
Executes the respective command for each inserted, updated, or deleted row in the DataSet.
e.g.:
UpdateDataset(conn, insertCommand, deleteCommand, updateCommand, dataSet, "Order");
A valid SQL statement to insert new records into the data source
A valid SQL statement to delete records from the data source
A valid SQL statement used to update records in the data source
The DataSet used to update the data source
The DataTable used to update the data source.
ShortCut method to return IDataReader
NOTE: You should explicitly close the Command.connection you passed in as
well as call Dispose on the Command after reader is closed.
We do this because IDataReader has no underlying Connection Property.
SQLiteCommand Object
SQL Statement with optional embedded "@param" style parameters
object[] array of parameter values
IDataReader
Shortcut to ExecuteNonQuery with SqlStatement and object[] param values
SQLite Connection String
Sql Statement with embedded "@param" style parameters
object[] array of parameter values
Executes non-query sql Statment with Transaction
SQLiteTransaction. Transaction consists of Connection, Transaction, /// and Command, all of which must be created prior to making this method call.
Command text.
Param list.
Integer
user must examine Transaction Object and handle transaction.connection .Close, etc.
Executes the non query.
CMD.
Shortcut to ExecuteScalar with Sql Statement embedded params and object[] param values
SQLite Connection String
SQL statment with embedded "@param" style parameters
object[] array of param values
Execute XmlReader with complete Command
SQLite Command
XmlReader
Parses parameter names from SQL Statement, assigns values from object array , /// and returns fully populated ParameterCollection.
Sql Statement with "@param" style embedded parameters
object[] array of parameter values
SQLiteParameterCollection
Status experimental. Regex appears to be handling most issues. Note that parameter object array must be in same ///order as parameter names appear in SQL statement.
Executes non query typed params from a DataRow
Command.
Data row.
Integer result code
This method assigns dataRow column values to an IDataParameterCollection
The IDataParameterCollection to be assigned values
The dataRow used to hold the command's parameter values
Thrown if any of the parameter names are invalid.
This method assigns dataRow column values to an array of IDataParameters
Array of IDataParameters to be assigned values
The dataRow used to hold the stored procedure's parameter values
Thrown if any of the parameter names are invalid.
This method assigns an array of values to an array of IDataParameters
Array of IDataParameters to be assigned values
Array of objects holding the values to be assigned
Thrown if an incorrect number of parameters are passed.