共用方式為


OrderExpression Class

Definition

Sets the order in which the records 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, String, String)

Initializes a new instance of the OrderExpression class setting the AttributeName, OrderType, Alias, and EntityName properties.

OrderExpression(String, OrderType, String)

Initializes a new instance of the OrderExpression class setting the AttributeName, OrderType, and Alias properties.

OrderExpression(String, OrderType)

Initializes a new instance of the OrderExpression class setting the AttributeName and OrderType properties.

Properties

Alias

Gets or sets the alias of the column used to group aggregated data.

AttributeName

Gets or sets the logical name of the column in the order expression.

EntityName

Gets or sets the logical name of the table that contains the column.

ExtensionData

Gets or sets the structure that contains extra data.

OrderType

Gets or sets the order, ascending or descending.

Applies to