Method | Description | |
---|---|---|
From ( this query, IEntity entity ) : |
Adds a table to the FROM statement with "T0" alias and sets it as target for future field selections.
|
|
GroupBy ( this query ) : |
||
GroupBy ( this query, IField field ) : |
||
Into ( this query, IEntity into ) : |
||
OrderBy ( this query ) : |
||
OrderBy ( this query, IField field, bool desc = false ) : |
||
Select ( this query ) : |
For each field in the fields array, adds expression of the field to the SELECT statement with a column name of its name. If a join alias is referenced in the field expression, and the join is defined in field's entity class, it is automatically included in the query. The fields are marked as a target at current index for future loading from a data reader.
|
|
Select ( this query, IAlias alias, IField field ) : |
Adds a field of a given table alias to the SELECT statement. No column name is set for the selected field. Also field is not set as a target, unlike field only overload, only field name is used. |
|
Select ( this query, IAlias alias, IField field, string columnName ) : |
Adds a field of a given table alias to the SELECT statement. Field is not set as a target, unlike field only overload, only field name is used. |
|
Select ( this query, IField field ) : |
Adds a field's expression to the SELECT statement with its own column name. If a join alias is referenced in the field expression, and the join is defined in field's entity class, it is automatically included in the query. The field is marked as a target at current index for future loading from a data reader.
|
|
Select ( this query, IField field, string columnName ) : |
Adds a field's expression to the SELECT statement with a given column name. If a join alias is referenced in the field expression, and the join is defined in field's entity class, it is automatically included in the query. The field is marked as a target at current index for future loading from a data reader.
|
|
SelectAs ( this query, string expression, IField intoField ) : |
Adds a field or an expression to the SELECT statement with a column name of a field's name. The field is marked as a target at current index for future loading from a data reader.
|
public static From ( this query, IEntity entity ) : |
||
query | this | |
entity | IEntity | |
return |
public static GroupBy ( this query ) : |
||
query | this | |
return |
public static GroupBy ( this query, IField field ) : |
||
query | this | |
field | IField | |
return |
public static Into ( this query, IEntity into ) : |
||
query | this | |
into | IEntity | |
return |
public static OrderBy ( this query ) : |
||
query | this | |
return |
public static OrderBy ( this query, IField field, bool desc = false ) : |
||
query | this | |
field | IField | |
desc | bool | |
return |
public static Select ( this query ) : |
||
query | this | |
return |
public static Select ( this query, IAlias alias, IField field ) : |
||
query | this | |
alias | IAlias | A table alias that will be prepended to the field name with "." between |
field | IField | A field that only name will be used. It won't be set as a target. |
return |
public static Select ( this query, IAlias alias, IField field, string columnName ) : |
||
query | this | |
alias | IAlias | A table alias that will be prepended to the field name with "." between |
field | IField | A field that only its field name will be used. It won't be set as a target. |
columnName | string | A column name |
return |
public static Select ( this query, IField field ) : |
||
query | this | |
field | IField | Field object |
return |
public static Select ( this query, IField field, string columnName ) : |
||
query | this | |
field | IField | Field object |
columnName | string | |
return |
public static SelectAs ( this query, string expression, IField intoField ) : |
||
query | this | |
expression | string | A field name or an expression |
intoField | IField | A field object whose name to be used as a column name. |
return |