Share via


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
Public method ODataQuerySettings() Instantiates a new instance of the ODataQuerySettings class and initializes the default settings.
Public method ODataQuerySettings(ODataQuerySettings) Initialize a new instance of the ODataQuerySettings class based on an existing one.

Top

Properties

  Name Description
Public property EnableConstantParameterization Gets or sets a value indicating whether constants should be parameterized. Parameterizing constants would result in better performance with Entity framework.
Public property EnsureStableOrdering Gets or sets a value indicating whether query composition should alter the original query when necessary to ensure a stable sort order.
Public property HandleNullPropagation Gets or sets a value indicating how null propagation should be handled during query composition.
Public property PageSize Gets or sets the maximum number of query results to return.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method 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.

See Also

Reference

System.Web.Http.OData.Query Namespace