Method | Description | |
---|---|---|
HqlRenderer ( ) : System | ||
RenderPage ( int pageIndex, int pageSize, int totalRowCount, SelectQuery query ) : string | ||
RenderRowCount ( SelectQuery query ) : string |
Renders a row count SELECT statement. Renders a SQL statement which returns a result set with one row and one cell which contains the number of rows query can generate. The generated statement will work nicely with System.Data.IDbCommand.ExecuteScalar method. |
|
RenderSelect ( SelectQuery query ) : string |
Renders a SELECT statement
|
Method | Description | |
---|---|---|
Expression ( StringBuilder builder, SqlExpression expr ) : void |
Renders SqlExpression
|
|
IfNull ( StringBuilder builder, SqlExpression expr ) : void |
Renders IfNull SqlExpression
|
Method | Description | |
---|---|---|
RenderSelect ( SelectQuery query, bool renderOrderBy ) : string |
protected Expression ( StringBuilder builder, SqlExpression expr ) : void | ||
builder | StringBuilder | |
expr | SqlExpression | |
return | void |
protected IfNull ( StringBuilder builder, SqlExpression expr ) : void | ||
builder | StringBuilder | |
expr | SqlExpression | |
return | void |
public RenderPage ( int pageIndex, int pageSize, int totalRowCount, SelectQuery query ) : string | ||
pageIndex | int | |
pageSize | int | |
totalRowCount | int | |
query | SelectQuery | |
return | string |
public RenderRowCount ( SelectQuery query ) : string | ||
query | SelectQuery | Query definition to count rows for |
return | string |
public RenderSelect ( SelectQuery query ) : string | ||
query | SelectQuery | Query definition |
return | string |