Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 3.31 KB

File metadata and controls

49 lines (34 loc) · 3.31 KB

QueryHost<T, TProvider> Class

Index > ExpressionPowerTools.Core > ExpressionPowerTools.Core.Hosts > QueryHost<T, TProvider>

Base class for custom query host.

public class QueryHost<T, TProvider> : IQueryHost<T, TProvider>
   where TProvider : ICustomQueryProvider<T>

Type Parameters

Parameter Name Constraints Description
T None. The entity type.
TProvider ICustomQueryProvider<T> The ICustomQueryProvider<T> to use.

Inheritance ObjectQueryHost<T, TProvider>

Implements IEnumerable , IEnumerable<out T> , IOrderedQueryable , IOrderedQueryable<out T> , IQueryable , IQueryable<out T> , IQueryHost<T, TProvider>

Derived QuerySnapshotHost<T>

Constructors

Ctor Description
QueryHost(Expression expression, TProvider provider) Initializes a new instance of the QueryHost<T, TProvider> class.

Properties

Property Type Description
CustomProvider TProvider Gets or sets the instance of the ICustomQueryProvider<T> .
ElementType Type Gets the type of element.
Expression Expression Gets the Expression for the query.
Provider IQueryProvider Gets the instance of the IQueryProvider .

Methods

Method Description
IEnumerator<T> GetEnumerator() Gets an IEnumerator<out T> for the query results.

Generated Copyright Version
02/22/2021 21:59:57 (c) Copyright 2020 Jeremy Likness. 0.9.7-beta