RelationalTypeMappingPostprocessor.TryGetInferredTypeMapping Method

Definition

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

protected virtual bool TryGetInferredTypeMapping(string tableAlias, string columnName, out Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? inferredTypeMapping);
abstract member TryGetInferredTypeMapping : string * string * RelationalTypeMapping -> bool
override this.TryGetInferredTypeMapping : string * string * RelationalTypeMapping -> bool
Protected Overridable Function TryGetInferredTypeMapping (tableAlias As String, columnName As String, ByRef inferredTypeMapping As RelationalTypeMapping) As Boolean

Parameters

tableAlias
String

The alias of 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