Jaa


ODataQueryOptions<TEntity> Constructors

Definition

Overloads

ODataQueryOptions<TEntity>(ODataQueryContext, HttpRequest)

Initializes a new instance of the ODataQueryOptions class based on the incoming request and some metadata information from the ODataQueryContext.

ODataQueryOptions<TEntity>(ODataQueryContext, HttpRequestMessage)

Initializes a new instance of the ODataQueryOptions class based on the incoming request and some metadata information from the ODataQueryContext.

ODataQueryOptions<TEntity>(ODataQueryContext, HttpRequest)

Initializes a new instance of the ODataQueryOptions class based on the incoming request and some metadata information from the ODataQueryContext.

public ODataQueryOptions (Microsoft.AspNet.OData.ODataQueryContext context, Microsoft.AspNetCore.Http.HttpRequest request);
new Microsoft.AspNet.OData.Query.ODataQueryOptions<'Entity> : Microsoft.AspNet.OData.ODataQueryContext * Microsoft.AspNetCore.Http.HttpRequest -> Microsoft.AspNet.OData.Query.ODataQueryOptions<'Entity>
Public Sub New (context As ODataQueryContext, request As HttpRequest)

Parameters

context
ODataQueryContext

The ODataQueryContext which contains the IEdmModel and some type information

request
HttpRequest

The incoming request message

Remarks

This signature uses types that are AspNetCore-specific.

Applies to

ODataQueryOptions<TEntity>(ODataQueryContext, HttpRequestMessage)

Initializes a new instance of the ODataQueryOptions class based on the incoming request and some metadata information from the ODataQueryContext.

public ODataQueryOptions (Microsoft.AspNet.OData.ODataQueryContext context, System.Net.Http.HttpRequestMessage request);
new Microsoft.AspNet.OData.Query.ODataQueryOptions<'Entity> : Microsoft.AspNet.OData.ODataQueryContext * System.Net.Http.HttpRequestMessage -> Microsoft.AspNet.OData.Query.ODataQueryOptions<'Entity>
Public Sub New (context As ODataQueryContext, request As HttpRequestMessage)

Parameters

context
ODataQueryContext

The ODataQueryContext which contains the IEdmModel and some type information

request
HttpRequestMessage

The incoming request message

Remarks

This signature uses types that are AspNet-specific.

Applies to