Replace the IQueryable wrapped into ConstantExpression with either the
corresponding expression or the result of the execution of the query itself.
Inheritance Hierarchy
| Object | ||
| CompositeVisitor<(Of <(<'TResult>)>)>..::..VisitorBase | ||
| QueryableConstantResolver | ||
Assembly: Epic.Query.Linq
Declaration Syntax
| C# |
public sealed class QueryableConstantResolver : CompositeVisitor<(Of <(<'TResult>)>)>..::..VisitorBase, IVisitor<Expression, ConstantExpression>, IVisitor<Expression>
Members
| All Members | Constructors | Methods | |||
| Member | Description | |
|---|---|---|
| QueryableConstantResolver(CompositeVisitor<(Of <<'(Expression>)>>)) |
Initializes a new instance of the QueryableConstantResolver class.
| |
| AsVisitor<(Of <<'(TExpression>)>>)(TExpression) |
Return itself as a visitor for target if it is
a ConstantExpression containing a IQueryable.
(Overrides CompositeVisitor<(Of <(<'TResult>)>)>..::..VisitorBase.AsVisitor<(Of <<'(TExpression>)>>)(TExpression).) | |
| Visit(ConstantExpression, IVisitContext) |
Visits a ConstantExpression containing an IQueryable and returns
its Expression or the result of the execution.
Requires a IQueryProvider in the context.
|
