Share via


EnableQueryAttribute.EnsureStableOrdering Property

 

Gets or sets a value indicating whether query composition should alter the original query when necessary to ensure a stable sort order.

Namespace:   System.Web.OData
Assembly:  System.Web.OData (in System.Web.OData.dll)

Syntax

public bool EnsureStableOrdering { get; set; }
public:
property bool EnsureStableOrdering {
    bool get();
    void set(bool value);
}
member EnsureStableOrdering : bool with get, set
Public Property EnsureStableOrdering As Boolean

Property Value

Type: System.Boolean

A true value indicates the original query should be modified when necessary to guarantee a stable sort order. A false value indicates the sort order can be considered stable without modifying the query. Query providers that ensure a stable sort order should set this value to false. The default value is true.

See Also

EnableQueryAttribute Class
System.Web.OData Namespace

Return to top