Show / Hide Table of Contents

Class OrderBy

Query order by, default order is ascending

Inheritance
object
OrderBy
OrderByAscending
OrderByDescending
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.QueryExpression
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class OrderBy

Constructors

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

Expression

The query order by expression

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

Methods

AndThenBy(OrderBy)

And with another order by expression

Declaration
public virtual 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
object.ToString()

Operators

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)
☀
☾
Back to top Generated by DocFX