Share via


RelationalQueryableMethodTranslatingExpressionVisitor.RelationalInferredTypeMappingApplier Class

Definition

Caution

Extend RelationalTypeMappingPostprocessor instead, and invoke it from RelationalQueryTranslationPostprocessor.ProcessTypeMappings().

This visitor has been obsoleted; Extend RelationalTypeMappingPostprocessor instead, and invoke it from ProcessTypeMappings(Expression).

[System.Obsolete("Extend RelationalTypeMappingPostprocessor instead, and invoke it from  RelationalQueryTranslationPostprocessor.ProcessTypeMappings().")]
protected class RelationalQueryableMethodTranslatingExpressionVisitor.RelationalInferredTypeMappingApplier
[System.Runtime.CompilerServices.Nullable(0)]
protected class RelationalQueryableMethodTranslatingExpressionVisitor.RelationalInferredTypeMappingApplier : System.Linq.Expressions.ExpressionVisitor
Protected Class RelationalQueryableMethodTranslatingExpressionVisitor.RelationalInferredTypeMappingApplier
Protected Class RelationalQueryableMethodTranslatingExpressionVisitor.RelationalInferredTypeMappingApplier
Inherits ExpressionVisitor
Inheritance
RelationalQueryableMethodTranslatingExpressionVisitor.RelationalInferredTypeMappingApplier
Inheritance
RelationalQueryableMethodTranslatingExpressionVisitor.RelationalInferredTypeMappingApplier
Attributes

Constructors

Name Description
RelationalQueryableMethodTranslatingExpressionVisitor.RelationalInferredTypeMappingApplier()
RelationalQueryableMethodTranslatingExpressionVisitor.RelationalInferredTypeMappingApplier(IModel, ISqlExpressionFactory, IReadOnlyDictionary<ValueTuple<TableExpressionBase, String>,RelationalTypeMapping>)

Creates a new instance of the RelationalQueryableMethodTranslatingExpressionVisitor.RelationalInferredTypeMappingApplier class.

Properties

Name Description
Model

The model.

Methods

Name Description
ApplyTypeMappingsOnValuesExpression(ValuesExpression, Boolean)

Applies the given type mappings to the values projected out by the given ValuesExpression. As an optimization, it can also strip the first _ord column if it's determined that it isn't needed (most cases).

TryGetInferredTypeMapping(TableExpressionBase, String, RelationalTypeMapping)

Attempts to find an inferred type mapping for the given table column.

VisitExtension(Expression)

Applies to