Skip to main content

Definition

Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core.Query Inheritance: Microsoft.Restier.Core.InvocationContext

Syntax

Summary

Represents context under which a query flow operates.

Constructors

.ctor

Initializes a new instance of the QueryContext class.

Syntax

Parameters

.ctor Inherited

Inherited from Microsoft.Restier.Core.InvocationContext
Initializes a new instance of the InvocationContext class.

Syntax

Parameters

.ctor Inherited

Inherited from object

Syntax

Properties

Api Inherited

Inherited from Microsoft.Restier.Core.InvocationContext
Gets the ApiBase descendant for this invocation.

Syntax

Property Value

Type: Microsoft.Restier.Core.ApiBase

Model

Gets the model that informs this query context.

Syntax

Property Value

Type: Microsoft.OData.Edm.IEdmModel

Request

Gets the query request.

Syntax

Property Value

Type: Microsoft.Restier.Core.Query.QueryRequest

Remarks

The query request cannot be set if there is already a result.

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetApiService Inherited

Inherited from Microsoft.Restier.Core.InvocationContext
Gets an API service.

Syntax

Returns

Type: T The API service instance.

Type Parameters

  • T - The API service type.

GetApiService Inherited

Inherited from Microsoft.Restier.Core.InvocationContext
Gets an API service.

Syntax

Parameters

Returns

Type: object The API service instance.

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?