SqliteSiphon Class
The implementation with Sqlite that has the logging facility.
public sealed class SqliteSiphon : Siphon
- Inheritance
-
Sqlite
Siphon
- Implements
Constructors
Sqlite |
The implementation with Sqlite that has the logging facility. |
Methods
Execute |
Description copied from interface: Siphon
|
Execute |
Description copied from interface: Siphon
|
Execute |
Description copied from interface: Siphon
|
Equals(object) | (Inherited from object) |
GetHashCode() | (Inherited from object) |
GetType() | (Inherited from object) |
MemberwiseClone() | (Inherited from object) |
ToString() | (Inherited from object) |
Constructors Detail
SqliteSiphon(SqliteConnection, Action<Func<string>>)
The implementation with Sqlite that has the logging facility.
public SqliteSiphon(SqliteConnection connection, Action<Func<string>> logger)
Parameters
- connection
-
Sqlite
Connection
The connection to the Sqlite.
Methods Detail
ExecuteNonQuery(string, IReadOnlyDictionary<string, object>)
Description copied from interface: Siphon
Executes the SQL statement without the results.
public void ExecuteNonQuery(string text, [IReadOnlyDictionary<string, object> parameters = null])
Parameters
- text
- string
- parameters
-
IRead
Only <string, object>Dictionary
Implements
ExecuteReader(string, IReadOnlyDictionary<string, object>)
Description copied from interface: Siphon
Executes the SQL statement and returns the reader of the results.
public Reservoir ExecuteReader(string text, [IReadOnlyDictionary<string, object> parameters = null])
Parameters
- text
- string
- parameters
-
IRead
Only <string, object>Dictionary
Returns
Implements
ExecuteLong(string, IReadOnlyDictionary<string, object>)
Description copied from interface: Siphon
Executes the SQL statement and returns the scalar result.
public long ExecuteLong(string text, [IReadOnlyDictionary<string, object> parameters = null])
Parameters
- text
- string
- parameters
-
IRead
Only <string, object>Dictionary