ODataQuerySettings Class
This class describes the settings to use during query composition.
Namespace: System.Web.Http.OData.Query
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.OData.Query.ODataQuerySettings
Syntax
public class ODataQuerySettings
public ref class ODataQuerySettings
type ODataQuerySettings = class end
Public Class ODataQuerySettings
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. |
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. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
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.
See Also
System.Web.Http.OData.Query Namespace
Return to top