Свойство | Тип | Описание | |
---|---|---|---|
OrderSql | StringBuilder |
Метод | Описание | |
---|---|---|
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,
|
Метод | Описание | |
---|---|---|
AddCriteria ( string propertyName, bool isAscending ) : void |
protected AddCriteria ( string propertyName, bool isAscending ) : void | ||
propertyName | string | |
isAscending | bool | |
Результат | void |
public Asc ( string propertyName ) : |
||
propertyName | string | |
Результат |
public Desc ( string propertyName ) : |
||
propertyName | string | |
Результат |