Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
IfNull ( StringBuilder builder, SqlExpression expr ) : void |
Renders IfNull SqlExpression
|
Method | Description | |
---|---|---|
RenderSelect ( SelectQuery query, bool renderOrderBy ) : string |
protected IfNull ( StringBuilder builder, SqlExpression expr ) : void | ||
builder | StringBuilder | |
expr | SqlExpression | |
return | void |
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 |