Show / Hide Table of Contents

Class OrderBy

Query order by, default order is ascending

Inheritance
object
OrderBy
OrderAscending
OrderDescending
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Scripting.Report
Assembly: PayrollEngine.Client.Scripting.dll
Syntax
public class OrderBy

Constructors

View Source

OrderBy(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 Source

Expression

The query order by expression

Declaration
public string Expression { get; }
Property Value
Type Description
string

Methods

View Source

AndThenBy(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

View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

implicit 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

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
  • View Source
☀
☾
Back to top Generated by DocFX