Share via


ODataQuerySettings Class

 

This class describes the settings to use during query composition.

Namespace:   System.Web.OData.Query
Assembly:  System.Web.OData (in System.Web.OData.dll)

Inheritance Hierarchy

System.Object
  System.Web.OData.Query.ODataQuerySettings

Syntax

public class ODataQuerySettings
public ref class ODataQuerySettings 
type ODataQuerySettings = class end
Public Class ODataQuerySettings

Constructors

Name Description
System_CAPS_pubmethod ODataQuerySettings()

Instantiates a new instance of the ODataQuerySettings class and initializes the default settings.

System_CAPS_pubmethod ODataQuerySettings(ODataQuerySettings)

Initialize a new instance of the ODataQuerySettings class based on an existing one.

Properties

Name Description
System_CAPS_pubproperty EnableConstantParameterization

Gets or sets a value indicating whether constants should be parameterized. Parameterizing constants would result in better performance with Entity framework.

System_CAPS_pubproperty EnsureStableOrdering

Gets or sets a value indicating whether query composition should alter the original query when necessary to ensure a stable sort order.

System_CAPS_pubproperty HandleNullPropagation

Gets or sets a value indicating how null propagation should be handled during query composition.

System_CAPS_pubproperty PageSize

Gets or sets the maximum number of query results to return.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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.OData.Query Namespace

Return to top