Share via


ParameterQueryRootExpression Class

Definition

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.

[System.Runtime.CompilerServices.Nullable(0)]
public class ParameterQueryRootExpression : Microsoft.EntityFrameworkCore.Query.QueryRootExpression
[<System.Runtime.CompilerServices.Nullable(0)>]
type ParameterQueryRootExpression = class
    inherit QueryRootExpression
Public Class ParameterQueryRootExpression
Inherits QueryRootExpression
Inheritance
ParameterQueryRootExpression
Attributes

Constructors

Name Description
ParameterQueryRootExpression(IAsyncQueryProvider, Type, ParameterExpression)
Obsolete.

This constructor has been obsoleted, use the constructor accepting QueryParameterExpression instead.

ParameterQueryRootExpression(IAsyncQueryProvider, Type, QueryParameterExpression)

Creates a new instance of the ParameterQueryRootExpression class.

ParameterQueryRootExpression(Type, ParameterExpression)
Obsolete.

This constructor has been obsoleted, use the constructor accepting QueryParameterExpression instead.

ParameterQueryRootExpression(Type, QueryParameterExpression)

Creates a new instance of the ParameterQueryRootExpression class.

Properties

Name Description
CanReduce (Inherited from QueryRootExpression)
ElementType

The element type represented by this query root.

(Inherited from QueryRootExpression)
NodeType (Inherited from QueryRootExpression)
ParameterExpression
Obsolete.

This constructor has been obsoleted, use QueryParameterExpression instead.

QueryParameterExpression

The query parameter expression representing the values for this query root.

QueryProvider

The query provider associated with this query root.

(Inherited from QueryRootExpression)
Type (Inherited from QueryRootExpression)

Methods

Name Description
DetachQueryProvider()

Detaches the associated query provider from this query root expression.

Equals(Object) (Inherited from QueryRootExpression)
GetHashCode() (Inherited from QueryRootExpression)
Print(ExpressionPrinter)

Creates a printable string representation of the given expression using ExpressionPrinter.

VisitChildren(ExpressionVisitor)

Reduces the node and then calls the visitor delegate on the reduced expression. The method throws an exception if the node is not reducible.

Explicit Interface Implementations

Name Description
IPrintableExpression.Print(ExpressionPrinter)

Creates a printable string representation of the given expression using ExpressionPrinter.

(Inherited from QueryRootExpression)

Applies to