Class QueryProvider<T, TParser>
Inherited Members
Namespace: ImageVault.Client.Query
Assembly: ImageVault.Client.dll
Syntax
public class QueryProvider<T, TParser> : ClientQueryProviderBase<TParser>, IClientQueryProvider where TParser : ExpressionVisitor, IIvExpressionParser
Type Parameters
Name | Description |
---|---|
T | |
TParser |
Constructors
QueryProvider(TParser)
Default constructor
Declaration
public QueryProvider(TParser parser)
Parameters
Type | Name | Description |
---|---|---|
TParser | parser |
Methods
CreateQuery(Expression)
Constructs an System.Linq.IQueryable object that can evaluate the query represented by a specified expression tree.
Declaration
public override IQueryable CreateQuery(Expression expression)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression | expression | An expression tree that represents a LINQ query. |
Returns
Type | Description |
---|---|
System.Linq.IQueryable | An System.Linq.IQueryable that can evaluate the query represented by the specified expression tree. |
Overrides
ImageVault.Client.Query.ClientQueryProviderBase<TParser>.CreateQuery(System.Linq.Expressions.Expression)
CreateQuery<TElement>(Expression)
Constructs an System.Linq.IQueryable<> object that can evaluate the query represented by a specified expression tree.
Declaration
public override IQueryable<TElement> CreateQuery<TElement>(Expression expression)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression | expression | An expression tree that represents a LINQ query. |
Returns
Type | Description |
---|---|
System.Linq.IQueryable<TElement> | An System.Linq.IQueryable<> that can evaluate the query represented by the specified expression tree. |
Type Parameters
Name | Description |
---|---|
TElement | The type of the elements of the System.Linq.IQueryable<> that is returned. |
Overrides
ImageVault.Client.Query.ClientQueryProviderBase<TParser>.CreateQuery<TElement>(System.Linq.Expressions.Expression)
Exceptions
Type | Condition |
---|---|
System.NotSupportedException |
Implements
System.Linq.IQueryProvider