OrderExpression Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Sets the order in which the entity instances are returned from the query.
Namespace: Microsoft.Xrm.Sdk.Query
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Sdk.Query.OrderExpression
Syntax
[DataContractAttribute(Name = "OrderExpression", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class OrderExpression : IExtensibleDataObject
<DataContractAttribute(Name := "OrderExpression", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts")>
Public NotInheritable Class OrderExpression
Implements IExtensibleDataObject
Constructors
Name | Description | |
---|---|---|
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. |
Properties
Name | Description | |
---|---|---|
AttributeName | Gets or sets the name of the attribute in the order expression. |
|
ExtensionData | Gets or sets the structure that contains extra data. |
|
OrderType | Gets or sets the order, ascending or descending. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Xrm.Sdk.Query Namespace
Page large result sets with QueryExpression
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright