SQLite basic commands with bindings
More...
SQLite basic commands with bindings
◆ SQLiteCommand()
The connection with the full parced command and bindings
- Parameters
-
◆ Bind() [1/2]
void SQLite.SQLiteCommand.Bind |
( |
object |
val | ) |
|
Binding the object
- Parameters
-
◆ Bind() [2/2]
void SQLite.SQLiteCommand.Bind |
( |
string |
name, |
|
|
object |
val |
|
) |
| |
Adds new Binding
- Parameters
-
name | name of the column |
val | value to bind |
◆ ExecuteDeferredQuery< T >() [1/2]
IEnumerable<T> SQLite.SQLiteCommand.ExecuteDeferredQuery< T > |
( |
| ) |
|
Query deferred items of type, the TableMapping will be fetched according the type
- Template Parameters
-
- Returns
- A List of the query.
◆ ExecuteDeferredQuery< T >() [2/2]
IEnumerable<T> SQLite.SQLiteCommand.ExecuteDeferredQuery< T > |
( |
TableMapping |
map | ) |
|
Query deferred of items of just one Row
- Template Parameters
-
- Returns
- A IEnumerable of the query.
◆ ExecuteNonQuery()
int SQLite.SQLiteCommand.ExecuteNonQuery |
( |
| ) |
|
Perform a prepared SQL-command
- Returns
- a numeber of affected records
◆ ExecuteQuery< T >() [1/2]
List<T> SQLite.SQLiteCommand.ExecuteQuery< T > |
( |
| ) |
|
Query items of type, the TableMapping will be fetched according the type
- Template Parameters
-
- Returns
- A List of the query.
◆ ExecuteQuery< T >() [2/2]
List<T> SQLite.SQLiteCommand.ExecuteQuery< T > |
( |
TableMapping |
map | ) |
|
Query items of the tablemapping
- Template Parameters
-
- Parameters
-
map | the map (table) to process |
- Returns
- A List of the query.
◆ ExecuteScalar< T >()
T SQLite.SQLiteCommand.ExecuteScalar< T > |
( |
| ) |
|
Query one item of just one Row
- Template Parameters
-
- Returns
◆ OnInstanceCreated()
virtual void SQLite.SQLiteCommand.OnInstanceCreated |
( |
object |
obj | ) |
|
|
protectedvirtual |
Invoked every time an instance is loaded from the database.
- Parameters
-
obj | The newly created object. |
This can be overridden in combination with the SQLiteConnection.NewCommand method to hook into the life-cycle of objects.
◆ ToString()
override string SQLite.SQLiteCommand.ToString |
( |
| ) |
|
overriding the .Tostring() for the complete CommandText
- Returns
◆ CommandText
string SQLite.SQLiteCommand.CommandText |
|
getset |
The documentation for this class was generated from the following file:
- /Users/admin/Unity/SQLite-Extended/Assets/Picon-SQL/Core/SQLite/SQLiteCommand.cs