Deli z drugimi prek


OrderExpression Class

 

Applies To: Dynamics CRM 2015

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 ref class OrderExpression sealed : IExtensibleDataObject
[<Sealed>]
[<DataContractAttribute(Name = "OrderExpression", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")>]
type OrderExpression = 
    class
        interface IExtensibleDataObject
    end
<DataContractAttribute(Name := "OrderExpression", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts")>
Public NotInheritable Class OrderExpression
    Implements IExtensibleDataObject

Constructors

Name Description
System_CAPS_pubmethod OrderExpression()

Initializes a new instance of the OrderExpression class.

System_CAPS_pubmethod OrderExpression(String, OrderType)

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

Properties

Name Description
System_CAPS_pubproperty AttributeName

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

System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.

System_CAPS_pubproperty OrderType

Gets or sets the order, ascending or descending.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod 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

© 2016 Microsoft. All rights reserved. Copyright