OrderExpression Class

Definition

Sets the order in which the entity instances are returned from the query.

public ref class OrderExpression sealed : System::Runtime::Serialization::IExtensibleDataObject
[System.Runtime.Serialization.DataContract(Name="OrderExpression", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class OrderExpression : System.Runtime.Serialization.IExtensibleDataObject
[<System.Runtime.Serialization.DataContract(Name="OrderExpression", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")>]
type OrderExpression = class
    interface IExtensibleDataObject
Public NotInheritable Class OrderExpression
Implements IExtensibleDataObject
Inheritance
OrderExpression
Attributes
Implements

Constructors

OrderExpression()

Initializes a new instance of the OrderExpression class.

OrderExpression(String, OrderType)

Initializes a new instance of the OrderExpression class setting the attribute name and the order type.

OrderExpression(String, OrderType, String)
OrderExpression(String, OrderType, String, String)

Properties

Alias
AttributeName

Gets or sets the name of the attribute in the order expression.

EntityName
ExtensionData

Gets or sets the structure that contains extra data.

OrderType

Gets or sets the order, ascending or descending.

Applies to