Skip to main content

Definition

Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core.Query Inheritance: System.Object

Syntax

Summary

Represents a query result.

Constructors

.ctor

Initializes a new instance of the QueryResult class with an Exception.

Syntax

Parameters

.ctor

Initializes a new instance of the QueryResult class with in-memory results.

Syntax

Parameters

.ctor Inherited

Inherited from object

Syntax

Properties

Exception

Gets or sets an Exception to be returned.

Syntax

Property Value

Type: System.Exception

Remarks

Setting this value will override any existing Exception or results.

Results

Gets or sets the in-memory results.

Syntax

Property Value

Type: System.Collections.IEnumerable

Remarks

Setting this value will override any existing Exception or results.

ResultsSource

Gets or sets the entity set from which the results were sourced.

Syntax

Property Value

Type: Microsoft.OData.Edm.IEdmEntitySet

Remarks

This property will be null if the results are not instances of a particular entity type that has an associated entity set.

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

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?