RelationalQueryableMethodTranslatingExpressionVisitor.RelationalInferredTypeMappingApplier.TryGetInferredTypeMapping 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.
Attempts to find an inferred type mapping for the given table column.
protected virtual bool TryGetInferredTypeMapping (Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase table, string columnName, out Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? inferredTypeMapping);
abstract member TryGetInferredTypeMapping : Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase * string * RelationalTypeMapping -> bool
override this.TryGetInferredTypeMapping : Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase * string * RelationalTypeMapping -> bool
Protected Overridable Function TryGetInferredTypeMapping (table As TableExpressionBase, columnName As String, ByRef inferredTypeMapping As RelationalTypeMapping) As Boolean
Parameters
- table
- TableExpressionBase
The table containing the column for which to find the inferred type mapping.
- columnName
- String
The name of the column for which to find the inferred type mapping.
- inferredTypeMapping
- RelationalTypeMapping
The inferred type mapping, or null
if none could be found.
Returns
Whether an inferred type mapping could be found.
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