Definition
Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core.Query Inheritance: Microsoft.Restier.Core.InvocationContextSyntax
Summary
Represents context under which a query flow operates.Constructors
.ctor
Initializes a new instance of the QueryContext class.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
api | Microsoft.Restier.Core.ApiBase | An Api. |
request | Microsoft.Restier.Core.Query.QueryRequest | A query request. |
.ctor Inherited
Inherited from
Microsoft.Restier.Core.InvocationContextSyntax
Parameters
| Name | Type | Description |
|---|---|---|
api | Microsoft.Restier.Core.ApiBase | An Api. |
.ctor Inherited
Inherited from
objectSyntax
Properties
Api Inherited
Inherited from
Microsoft.Restier.Core.InvocationContextSyntax
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
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetApiService Inherited
Inherited from
Microsoft.Restier.Core.InvocationContextSyntax
Returns
Type:T
The API service instance.
Type Parameters
T- The API service type.
GetApiService Inherited
Inherited from
Microsoft.Restier.Core.InvocationContextSyntax
Parameters
| Name | Type | Description |
|---|---|---|
type | System.Type | The API service type. |
Returns
Type:object
The API service instance.
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?