Share via


InlineQueryRootExpression Class

Definition

An expression that represents an inline query root within the query (e.g. new[] { 1, 2, 3 }).

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public class InlineQueryRootExpression : Microsoft.EntityFrameworkCore.Query.QueryRootExpression
type InlineQueryRootExpression = class
    inherit QueryRootExpression
Public Class InlineQueryRootExpression
Inherits QueryRootExpression
Inheritance
InlineQueryRootExpression

Constructors

InlineQueryRootExpression(IAsyncQueryProvider, IReadOnlyList<Expression>, Type)

Creates a new instance of the InlineQueryRootExpression class.

InlineQueryRootExpression(IReadOnlyList<Expression>, Type)

Creates a new instance of the InlineQueryRootExpression class.

Properties

CanReduce (Inherited from QueryRootExpression)
ElementType

The element type represented by this query root.

(Inherited from QueryRootExpression)
EntityType

The entity type reprenseted by this query root.

(Inherited from QueryRootExpression)
NodeType (Inherited from QueryRootExpression)
QueryProvider

The query provider associated with this query root.

(Inherited from QueryRootExpression)
Type (Inherited from QueryRootExpression)
Values

The values contained in this query root.

Methods

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.

Update(IReadOnlyList<Expression>)

Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.

UpdateEntityType(IEntityType)

Updates entity type associated with this query root with equivalent optimized version.

(Inherited from QueryRootExpression)
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

IPrintableExpression.Print(ExpressionPrinter)

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

(Inherited from QueryRootExpression)

Applies to