ODataQuerySettings Class
This class describes the settings to use during query composition.
Inheritance Hierarchy
System.Object
System.Web.Http.OData.Query.ODataQuerySettings
Namespace: System.Web.Http.OData.Query
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Class ODataQuerySettings
'Usage
Dim instance As ODataQuerySettings
public class ODataQuerySettings
public ref class ODataQuerySettings
type ODataQuerySettings = class end
public class ODataQuerySettings
The ODataQuerySettings type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ODataQuerySettings() | Instantiates a new instance of the ODataQuerySettings class and initializes the default settings. | |
ODataQuerySettings(ODataQuerySettings) | Initialize a new instance of the ODataQuerySettings class based on an existing one. |
Top
Properties
Name | Description | |
---|---|---|
EnableConstantParameterization | Gets or sets a value indicating whether constants should be parameterized. Parameterizing constants would result in better performance with Entity framework. | |
EnsureStableOrdering | Gets or sets a value indicating whether query composition should alter the original query when necessary to ensure a stable sort order. | |
HandleNullPropagation | Gets or sets a value indicating how null propagation should be handled during query composition. | |
PageSize | Gets or sets the maximum number of query results to return. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.