SelectStatement allows the construction of SQL SELECT statements.
Default constructor
public Void SelectStatement()Initializes a new instance of SelectStatement.
public Void SelectStatement(service)| Name | Type | Summary |
|---|---|---|
| service | IDataService | The IDataService from which the statement will be based on. |
Initializes a new instance of SelectStatement.
public Void SelectStatement(service, useAlias)| Name | Type | Summary |
|---|---|---|
| service | IDataService | The IDataService from which the statement will be based on. |
| useAlias | Boolean | Indicates whether to use the Alias to build the command. |
| Type | Summary |
|---|---|
| ArgumentNullException | Thrown when service is null. |
Initializes a new instance of SelectStatement.
public Void SelectStatement(repository)| Name | Type | Summary |
|---|---|---|
| repository | Repository | The underlying repository |
Initializes a new instance of SelectStatement.
public Void SelectStatement(repository, useAlias)| Name | Type | Summary |
|---|---|---|
| repository | Repository | The underlying repository |
| useAlias | Boolean | Indicates whether to use the Alias to build the command. |
Initializes a new instance of SelectStatement.
public Void SelectStatement(name, repository)| Name | Type | Summary |
|---|---|---|
| name | String | The name of the statement |
| repository | Repository | The underlying repository |
Initializes a new instance of SelectStatement.
public Void SelectStatement(name, repository, useAlias)| Name | Type | Summary |
|---|---|---|
| name | String | The name of the statement |
| repository | Repository | The underlying repository |
| useAlias | Boolean | Indicates whether to use the Alias to build the command. |
List of SELECT statement Columns.
public IList<IColumn> Columns { get; }List of Columns for the GROUP BY clause.
public IList<Column> GroupColumns { get; }List of SearchConditions that conforms the HAVING clause.
public IList<SearchCondition> HavingConditions { get; }The name of the index to be used by the engine when executing this query.
public String IndexHint { get; set; }Whether paging is requested.
public Boolean IsPagingRequested { get; }List of Modifiers for the SELECT statement.
public IList<Modifier> Modifiers { get; }List of OrderColumns for the ORDER BY clause.
public IList<OrderColumn> OrderColumns { get; }Number of the page of data to select. Default is zero which means no paging.
public Int32 Page { get; set; }Page length for building a SELECT that returns a page of data. Default is zero which means no paging.
public Int32 PageLength { get; set; }List of Relations for the SELECT statement.
public IList<Relation> Relations { get; }