LinkEntity.Orders Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the order in which the records are returned from the query.
public:
property Microsoft::Xrm::Sdk::DataCollection<Microsoft::Xrm::Sdk::Query::OrderExpression ^> ^ Orders { Microsoft::Xrm::Sdk::DataCollection<Microsoft::Xrm::Sdk::Query::OrderExpression ^> ^ get(); };
[System.Runtime.Serialization.DataMember(Order=80)]
[set: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification="Called via reflection")]
public Microsoft.Xrm.Sdk.DataCollection<Microsoft.Xrm.Sdk.Query.OrderExpression> Orders { get; }
[<System.Runtime.Serialization.DataMember(Order=80)>]
[<set: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Justification="Called via reflection")>]
member this.Orders : Microsoft.Xrm.Sdk.DataCollection<Microsoft.Xrm.Sdk.Query.OrderExpression>
Public ReadOnly Property Orders As DataCollection(Of OrderExpression)
Property Value
Gets the order in which the records are returned from the query.
- Attributes
Remarks
Unlike the QueryExpression.Orders property, there is no LinkEntity.AddOrder
method to add orders to this read-only colletion. You need to specify orders during object initialization or using the methods inherited from DataCollection<T>.