RelationalQueryableMethodTranslatingExpressionVisitor.ApplyInferredTypeMappings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invoked at the end of top-level translation, applies inferred type mappings for queryable constants/parameters and verifies that all SqlExpression have a type mapping.
protected virtual System.Linq.Expressions.Expression ApplyInferredTypeMappings (System.Linq.Expressions.Expression expression, System.Collections.Generic.IReadOnlyDictionary<(Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase, string),Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping?> inferredTypeMappings);
abstract member ApplyInferredTypeMappings : System.Linq.Expressions.Expression * System.Collections.Generic.IReadOnlyDictionary<ValueTuple<Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase, string>, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping> -> System.Linq.Expressions.Expression
override this.ApplyInferredTypeMappings : System.Linq.Expressions.Expression * System.Collections.Generic.IReadOnlyDictionary<ValueTuple<Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase, string>, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping> -> System.Linq.Expressions.Expression
Protected Overridable Function ApplyInferredTypeMappings (expression As Expression, inferredTypeMappings As IReadOnlyDictionary(Of ValueTuple(Of TableExpressionBase, String), RelationalTypeMapping)) As Expression
Parameters
- expression
- Expression
The query expression to process.
- inferredTypeMappings
- IReadOnlyDictionary<ValueTuple<TableExpressionBase,String>,RelationalTypeMapping>
Inferred type mappings for queryable constants/parameters collected during translation. These will be applied to the appropriate nodes in the tree.
Returns
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for