SqliteSiphon Class

The implementation with Sqlite that has the logging facility.

C#
public sealed class SqliteSiphon : Siphon
Inheritance
SqliteSiphon
Implements

Constructors

SqliteSiphon(SqliteConnection, Action<Func<string>>)

The implementation with Sqlite that has the logging facility.

Methods

ExecuteNonQuery(string, IReadOnlyDictionary<string, object>)

Description copied from interface: Siphon

Executes the SQL statement without the results.

ExecuteReader(string, IReadOnlyDictionary<string, object>)

Description copied from interface: Siphon

Executes the SQL statement and returns the reader of the results.

ExecuteLong(string, IReadOnlyDictionary<string, object>)

Description copied from interface: Siphon

Executes the SQL statement and returns the scalar result.

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.

C#
public SqliteSiphon(SqliteConnection connection, Action<Func<string>> logger)

Parameters

connection
SqliteConnection

The connection to the Sqlite.

logger
Action<Func<string>>

The logger.

Methods Detail

ExecuteNonQuery(string, IReadOnlyDictionary<string, object>)

Description copied from interface: Siphon

Executes the SQL statement without the results.

C#
public void ExecuteNonQuery(string text, [IReadOnlyDictionary<string, object> parameters = null])

Parameters

text
string

Implements

ExecuteReader(string, IReadOnlyDictionary<string, object>)

Description copied from interface: Siphon

Executes the SQL statement and returns the reader of the results.

C#
public Reservoir ExecuteReader(string text, [IReadOnlyDictionary<string, object> parameters = null])

Parameters

text
string

Returns

Description copied from interface: Siphon

The reader of the results.

Implements

ExecuteLong(string, IReadOnlyDictionary<string, object>)

Description copied from interface: Siphon

Executes the SQL statement and returns the scalar result.

C#
public long ExecuteLong(string text, [IReadOnlyDictionary<string, object> parameters = null])

Parameters

text
string

Returns

Description copied from interface: Siphon

The scalar result.

Implements