SelectFromImpl<T> Class
The default implementation of SelectFrom<T>.
public sealed class SelectFromImpl<T> : AbstractSelectSorter<T>, SelectFrom<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
Select |
The default implementation of SelectFrom<T>. |
Properties
Text |
Gets the SQL query text. (Inherited from Abstract |
Methods
Inner |
Description copied from interface: SelectFrom
|
Where(string, IRead |
Description copied from interface: SelectFrom
|
OrderBy(string[]) |
Description copied from interface: SelectSorter (Inherited from Abstract |
Execute() |
Description copied from interface: SelectTerminator (Inherited from Abstract |
Limit(int) |
Description copied from interface: SelectTerminator (Inherited from Abstract |
LimitOffset(int, int) |
Description copied from interface: SelectTerminator (Inherited from Abstract |
Equals(object) | (Inherited from object) |
GetHashCode() | (Inherited from object) |
GetType() | (Inherited from object) |
MemberwiseClone() | (Inherited from object) |
ToString() | (Inherited from object) |
Constructors Detail
SelectFromImpl(MetadataBank, Siphon, string)
The default implementation of SelectFrom<T>.
public SelectFromImpl(MetadataBank bank, Siphon siphon, string text)
Parameters
- bank
-
Metadata
Bank
The Bank object.
- text
- string
The prefix statement.
Methods Detail
InnerJoin<U>(string, string)
Description copied from interface: SelectFrom
Gets a new SelectFrom<T> object, which represents the combination of
this
(SELECT
...From
...) and theINNER JOIN
...ON
... clause with the table thatU
represents.
public SelectFrom<T> InnerJoin<U>(string alias, string constraint)
Type Parameters
- U
-
notnull
Parameters
- alias
- string
- constraint
- string
Returns
Implements
Remarks
Description copied from interface: SelectFrom
The object that this method returns represents
SELECT ... FROM ... INNER JOIN
"the table name of U"alias
ON
constraint
.
Where(string, IReadOnlyDictionary<string, object>)
Description copied from interface: SelectFrom
Gets a new Where<T> object, which represents the combination of
this
(SELECT
...From
...) and theWHERE
... clause.
public Where<T> Where(string condition, IReadOnlyDictionary<string, object> parameters)
Parameters
- condition
- string
- parameters
-
IRead
Only <string, object>Dictionary
Returns
Implements
Remarks
Description copied from interface: SelectFrom
The object that this method returns represents
SELECT ... FROM ... WHERE
condition
.