Share via


RelationalQueryableMethodTranslatingExpressionVisitor.RelationalInferredTypeMappingApplier.TryGetInferredTypeMapping Method

Definition

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