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.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för