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>| Parameter Name | Constraints | Description |
|---|---|---|
T |
None. | The entity type. |
TProvider |
ICustomQueryProvider<T> | The ICustomQueryProvider<T> to use. |
Inheritance Object → QueryHost<T, TProvider>
Implements IEnumerable , IEnumerable<out T> , IOrderedQueryable , IOrderedQueryable<out T> , IQueryable , IQueryable<out T> , IQueryHost<T, TProvider>
Derived QuerySnapshotHost<T>
| Ctor | Description |
|---|---|
| QueryHost(Expression expression, TProvider provider) | Initializes a new instance of the QueryHost<T, TProvider> class. |
| 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 . |
| 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 |