Property | Type | Description | |
---|---|---|---|
OrderSql | StringBuilder |
Method | Description | |
---|---|---|
Asc ( string propertyName ) : |
||
Desc ( string propertyName ) : |
||
GetExpressionString ( ) : string |
Returns the order by clause without the leading 'Order By' command. To access the statement with a order by command, use ToString().
|
|
ToString ( ) : string |
Returns the query's expression as a SQL string, prefixed with the 'Order By' command. For example,
|
Method | Description | |
---|---|---|
AddCriteria ( string propertyName, bool isAscending ) : void |
protected AddCriteria ( string propertyName, bool isAscending ) : void | ||
propertyName | string | |
isAscending | bool | |
return | void |