Compartir a través de


RelationalShapedQueryCompilingExpressionVisitor Class

Definition

A class that compiles the shaper expression for given shaped query expression.

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

public class RelationalShapedQueryCompilingExpressionVisitor : Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor
type RelationalShapedQueryCompilingExpressionVisitor = class
    inherit ShapedQueryCompilingExpressionVisitor
Public Class RelationalShapedQueryCompilingExpressionVisitor
Inherits ShapedQueryCompilingExpressionVisitor
Inheritance
RelationalShapedQueryCompilingExpressionVisitor

Constructors

RelationalShapedQueryCompilingExpressionVisitor(ShapedQueryCompilingExpressionVisitorDependencies, RelationalShapedQueryCompilingExpressionVisitorDependencies, QueryCompilationContext)

Creates a new instance of the ShapedQueryCompilingExpressionVisitor class.

Properties

Dependencies

Dependencies for this service.

(Inherited from ShapedQueryCompilingExpressionVisitor)
IsAsync (Inherited from ShapedQueryCompilingExpressionVisitor)
IsBuffering (Inherited from ShapedQueryCompilingExpressionVisitor)
IsTracking (Inherited from ShapedQueryCompilingExpressionVisitor)
MaxNullableParametersForPregeneratedSql

Determines the maximum number of nullable parameters a query may have for us to pregenerate SQL for it in precompiled queries; each additional nullable parameter doubles the number of SQLs we need to pregenerate. If a query has more nullable parameters than this number, we don't pregenerate SQL, but instead insert the SQL as an expression tree and execute RelationalParameterBasedSqlProcessor at runtime as usual (slower startup).

QueryCompilationContext

The query compilation context object for current compilation.

(Inherited from ShapedQueryCompilingExpressionVisitor)
RelationalDependencies

Relational provider-specific dependencies for this service.

Methods

InjectEntityMaterializers(Expression)

Inject entity materializers in given shaper expression. StructuralTypeShaperExpression is replaced with materializer expression for given entity.

(Inherited from ShapedQueryCompilingExpressionVisitor)
NonQueryResult(RelationalQueryContext, RelationalCommandResolver, Type, CommandSource, Boolean)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

NonQueryResultAsync(RelationalQueryContext, RelationalCommandResolver, Type, CommandSource, Boolean)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

VerifyNoClientConstant(Expression)

Verifies that the given shaper expression does not contain client side constant which could cause memory leak.

(Inherited from ShapedQueryCompilingExpressionVisitor)
VisitExtension(Expression)

Visits the children of the extension expression.

VisitExtension(Expression) (Inherited from ShapedQueryCompilingExpressionVisitor)
VisitNonQuery(NonQueryExpression)

Visits the given nonQueryExpression, returning an expression that when compiled, can execute the non- query operation against the database.

VisitShapedQuery(ShapedQueryExpression)

Visits given shaped query expression to create an expression of enumerable.

VisitShapedQuery(ShapedQueryExpression)

Visits given shaped query expression to create an expression of enumerable.

(Inherited from ShapedQueryCompilingExpressionVisitor)
VisitShapedQueryExpression(ShapedQueryExpression)
VisitShapedQueryExpression(ShapedQueryExpression) (Inherited from ShapedQueryCompilingExpressionVisitor)

Applies to