Udostępnij za pośrednictwem


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.Http.OData
Assembly:  System.Web.Http.OData (in System.Web.Http.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.Http.OData Namespace

Return to top