Freigeben über


ODataQuerySettings.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.Http.OData.Query
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

public bool EnsureStableOrdering {
    [CompilerGeneratedAttribute]
    get;
    [CompilerGeneratedAttribute]
    set;
}
public:
property bool EnsureStableOrdering {
    [CompilerGeneratedAttribute]
    bool get();
    [CompilerGeneratedAttribute]
    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

ODataQuerySettings Class
System.Web.Http.OData.Query Namespace

Return to top