Table of Contents

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 IAsyncQueryProvider

The query provider associated with this query root.

elementType Type

The values that this query root represents.

parameterExpression ParameterExpression

The 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 Type

The values that this query root represents.

parameterExpression ParameterExpression

The 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

ParameterExpression

Methods

DetachQueryProvider()

public override Expression DetachQueryProvider()

Returns

Expression

Print(ExpressionPrinter)

protected override void Print(ExpressionPrinter expressionPrinter)

Parameters

expressionPrinter ExpressionPrinter

VisitChildren(ExpressionVisitor)

protected override Expression VisitChildren(ExpressionVisitor visitor)

Parameters

visitor ExpressionVisitor

Returns

Expression