Class ParameterQueryRootExpression
- Namespace
- Microsoft.EntityFrameworkCore.Query
- Assembly
- Microsoft.EntityFrameworkCore.dll
An expression that represents a parameter query root within the query.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public class ParameterQueryRootExpression : QueryRootExpression, IPrintableExpression
- Inheritance
-
ParameterQueryRootExpression
- Implements
- Inherited Members
- Extension Methods
Constructors
ParameterQueryRootExpression(IAsyncQueryProvider, Type, ParameterExpression)
Creates a new instance of the ParameterQueryRootExpression class.
public ParameterQueryRootExpression(IAsyncQueryProvider asyncQueryProvider, Type elementType, ParameterExpression parameterExpression)
Parameters
asyncQueryProvider
IAsyncQueryProviderThe query provider associated with this query root.
elementType
TypeThe values that this query root represents.
parameterExpression
ParameterExpressionThe parameter expression representing the values for this query root.
ParameterQueryRootExpression(Type, ParameterExpression)
Creates a new instance of the ParameterQueryRootExpression class.
public ParameterQueryRootExpression(Type elementType, ParameterExpression parameterExpression)
Parameters
elementType
TypeThe values that this query root represents.
parameterExpression
ParameterExpressionThe parameter expression representing the values for this query root.
Properties
ParameterExpression
The parameter expression representing the values for this query root.
public virtual ParameterExpression ParameterExpression { get; }
Property Value
Methods
DetachQueryProvider()
public override Expression DetachQueryProvider()
Returns
Print(ExpressionPrinter)
protected override void Print(ExpressionPrinter expressionPrinter)
Parameters
expressionPrinter
ExpressionPrinter
VisitChildren(ExpressionVisitor)
protected override Expression VisitChildren(ExpressionVisitor visitor)
Parameters
visitor
ExpressionVisitor