ODataQuerySettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This class describes the settings to use during query composition.
public class ODataQuerySettings
type ODataQuerySettings = class
Public Class ODataQuerySettings
- Inheritance
-
ODataQuerySettings
Constructors
ODataQuerySettings() |
Instantiates a new instance of the ODataQuerySettings class and initializes the default settings. |
Properties
EnableConstantParameterization |
Gets or sets a value indicating whether constants should be parameterized. Parameterizing constants would result in better performance with Entity framework. |
EnableCorrelatedSubqueryBuffering |
Gets or sets a value indicating whether queries with expanded navigations should be formulated to encourage correlated subquery results to be buffered. Buffering correlated subquery results can reduce the number of queries from N + 1 to 2 by buffering results from the subquery. |
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. |
HandleReferenceNavigationPropertyExpandFilter |
Honor $filter inside $expand of non-collection navigation property. The expanded property is only populated when the filter evaluates to true. This setting is false by default. |
PageSize |
Gets or sets the maximum number of query results to return. |