WhereImpl<T> Class

The default implementation of Where<T>.

C#
public sealed class WhereImpl<T> : AbstractSelectSorter<T>, Where<T>
where T : notnull

Type Parameters

T
notnull

The type of the class representing any row of the result of the query.

Inheritance
Implements

Constructors

Properties

Text

Gets the SQL query text.

(Inherited from AbstractSelectSorter<T>)

Methods

OrderBy(string[])

Description copied from interface: SelectSorter

Executes the query and gets the result in the order sorted by the specified columns.

(Inherited from AbstractSelectSorter<T>)
Execute()

Description copied from interface: SelectTerminator

Executes the query and gets the result.

(Inherited from AbstractSelectSorter<T>)
Limit(int)

Description copied from interface: SelectTerminator

Executes the query and limits the number of rows that the query returns.

(Inherited from AbstractSelectSorter<T>)
LimitOffset(int, int)

Description copied from interface: SelectTerminator

Executes the query and limits the number of rows that the query returns and specifies the starting offset.

(Inherited from AbstractSelectSorter<T>)
Equals(object) (Inherited from object)
GetHashCode() (Inherited from object)
GetType() (Inherited from object)
MemberwiseClone() (Inherited from object)
ToString() (Inherited from object)

Constructors Detail

WhereImpl(Siphon, string, IReadOnlyDictionary<string, object>)

The default implementation of Where<T>.

C#
public WhereImpl(Siphon siphon, string text, IReadOnlyDictionary<string, object> parameters)

Parameters

siphon
Siphon

The Siphon object.

text
string

The prefix statement.

parameters
IReadOnlyDictionary<string, object>

Immutable key-value pairs.