Class OrderBy
Query order by, default order is ascending
Inherited Members
Namespace: PayrollEngine.Client.Scripting.Report
Assembly: PayrollEngine.Client.Scripting.dll
Syntax
public class OrderBy
Constructors
View SourceOrderBy(string, OrderDirection?)
Constructor
Declaration
public OrderBy(string expression, OrderDirection? direction = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | expression | The query order expression |
| OrderDirection? | direction | The order direction |
Properties
View SourceExpression
The query order by expression
Declaration
public string Expression { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceAndThenBy(OrderBy)
And with another order by expression
Declaration
public OrderBy AndThenBy(OrderBy orderBy)
Parameters
| Type | Name | Description |
|---|---|---|
| OrderBy | orderBy | The order by clause |
Returns
| Type | Description |
|---|---|
| OrderBy | Updated query order by |
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |
Overrides
Operators
View Sourceimplicit operator string(OrderBy)
Implicit order by to string converter
Declaration
public static implicit operator string(OrderBy orderBy)
Parameters
| Type | Name | Description |
|---|---|---|
| OrderBy | orderBy | The order by clause |
Returns
| Type | Description |
|---|---|
| string |