Skip to main content

Definition

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

Syntax

Microsoft.Restier.Core.Query.QueryRequest

Summary

Represents a query request.

Constructors

.ctor

Initializes a new instance of the QueryRequest class with a composed query.

Syntax

public QueryRequest(System.Linq.IQueryable query)

Parameters

NameTypeDescription
querySystem.Linq.IQueryableA composed query that was derived from a queryable source.

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

Expression

Gets or sets the composed query expression.

Syntax

public System.Linq.Expressions.Expression Expression { get; set; }

Property Value

Type: System.Linq.Expressions.Expression

ShouldReturnCount

Gets or sets a value indicating whether the number of the items should be returned instead of the items themselves.

Syntax

public bool ShouldReturnCount { get; set; }

Property Value

Type: bool

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?