Method | Description | |
---|---|---|
ClearDB ( ) : bool |
Allows the programmer to easily delete all data from the DB.
|
|
ClearTable ( String table ) : bool |
Allows the user to easily clear all data from a specific table.
|
|
Delete ( String tableName, String where ) : bool |
Allows the programmer to easily delete rows from the DB.
|
|
ExecuteNonQuery ( |
Allows the programmer to interact with the database for purposes other than a query.
|
|
ExecuteNonQuery ( string sql ) : int |
Allows the programmer to interact with the database for purposes other than a query.
|
|
ExecuteScalar ( string sql ) : string |
Allows the programmer to retrieve single items from the DB.
|
|
GetDataTable ( string sql ) : DataTable |
Allows the programmer to run a query against the Database.
|
|
Insert ( String tableName, String>.Dictionary |
Allows the programmer to easily insert into the DB
|
|
SQLiteDatabase ( ) : System |
Default Constructor for SQLiteDatabase Class.
|
|
SQLiteDatabase ( String>.Dictionary |
Single Param Constructor for specifying advanced connection options.
|
|
SQLiteDatabase ( String inputFile ) : System |
Single Param Constructor for specifying the DB file.
|
|
Update ( String tableName, String>.Dictionary |
Allows the programmer to easily update rows in the DB.
|
public ClearTable ( String table ) : bool | ||
table | String | The name of the table to clear. |
return | bool |
public Delete ( String tableName, String where ) : bool | ||
tableName | String | The table from which to delete. |
where | String | The where clause for the delete. |
return | bool |
public ExecuteNonQuery ( |
||
command | The SQLCommand to be run. | |
return | int |
public ExecuteNonQuery ( string sql ) : int | ||
sql | string | The SQL to be run. |
return | int |
public ExecuteScalar ( string sql ) : string | ||
sql | string | The query to run. |
return | string |
public GetDataTable ( string sql ) : DataTable | ||
sql | string | The SQL to run |
return | DataTable |
public Insert ( String tableName, String>.Dictionary |
||
tableName | String | The table into which we insert the data. |
data | String>.Dictionary | A dictionary containing the column names and data for the insert. |
return | bool |
public SQLiteDatabase ( String>.Dictionary |
||
connectionOpts | String>.Dictionary | A dictionary containing all desired options and their values |
return | System |
public SQLiteDatabase ( String inputFile ) : System | ||
inputFile | String | The File containing the DB |
return | System |
public Update ( String tableName, String>.Dictionary |
||
tableName | String | The table to update. |
data | String>.Dictionary | A dictionary containing Column names and their new values. |
where | String | The where clause for the update statement. |
return | bool |