OrderExpression Constructors

Definition

Overloads

OrderExpression()

Initializes a new instance of the OrderExpression class.

OrderExpression(String, OrderType)

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

OrderExpression(String, OrderType, String)

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

OrderExpression(String, OrderType, String, String)

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

OrderExpression()

Initializes a new instance of the OrderExpression class.

public:
 OrderExpression();
public OrderExpression ();
Public Sub New ()

Applies to

OrderExpression(String, OrderType)

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

public:
 OrderExpression(System::String ^ attributeName, Microsoft::Xrm::Sdk::Query::OrderType orderType);
public OrderExpression (string attributeName, Microsoft.Xrm.Sdk.Query.OrderType orderType);
new Microsoft.Xrm.Sdk.Query.OrderExpression : string * Microsoft.Xrm.Sdk.Query.OrderType -> Microsoft.Xrm.Sdk.Query.OrderExpression
Public Sub New (attributeName As String, orderType As OrderType)

Parameters

attributeName
String

The logical name of the column.

orderType
OrderType

The order, ascending or descending.

Applies to

OrderExpression(String, OrderType, String)

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

public:
 OrderExpression(System::String ^ attributeName, Microsoft::Xrm::Sdk::Query::OrderType orderType, System::String ^ alias);
public OrderExpression (string attributeName, Microsoft.Xrm.Sdk.Query.OrderType orderType, string alias);
new Microsoft.Xrm.Sdk.Query.OrderExpression : string * Microsoft.Xrm.Sdk.Query.OrderType * string -> Microsoft.Xrm.Sdk.Query.OrderExpression
Public Sub New (attributeName As String, orderType As OrderType, alias As String)

Parameters

attributeName
String

The logical name of the column.

orderType
OrderType

The order, ascending or descending.

alias
String

The alias of the column used to group aggregated data.

Applies to

OrderExpression(String, OrderType, String, String)

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

public:
 OrderExpression(System::String ^ attributeName, Microsoft::Xrm::Sdk::Query::OrderType orderType, System::String ^ alias, System::String ^ entityName);
public OrderExpression (string attributeName, Microsoft.Xrm.Sdk.Query.OrderType orderType, string alias, string entityName);
new Microsoft.Xrm.Sdk.Query.OrderExpression : string * Microsoft.Xrm.Sdk.Query.OrderType * string * string -> Microsoft.Xrm.Sdk.Query.OrderExpression
Public Sub New (attributeName As String, orderType As OrderType, alias As String, entityName As String)

Parameters

attributeName
String

The logical name of the column.

orderType
OrderType

The order, ascending or descending.

alias
String

The alias of the column used to group aggregated data.

entityName
String

The logical name of the table.

Applies to