Метод | Описание | |
---|---|---|
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
|
|
SqlServerRenderer ( ) : System |
Creates a new SqlServerRenderer
|
Метод | Описание | |
---|---|---|
IfNull ( StringBuilder builder, SqlExpression expr ) : void |
Renders IfNull SqlExpression
|
Метод | Описание | |
---|---|---|
RenderSelect ( SelectQuery query, bool renderOrderBy ) : string |
protected IfNull ( StringBuilder builder, SqlExpression expr ) : void | ||
builder | StringBuilder | |
expr | SqlExpression | |
Результат | void |
public RenderRowCount ( SelectQuery query ) : string | ||
query | SelectQuery | Query definition to count rows for |
Результат | string |
public RenderSelect ( SelectQuery query ) : string | ||
query | SelectQuery | Query definition |
Результат | string |