RelationalEntityTypeExtensions.GetContainerColumnTypeMapping Method

Definition

Caution

Container column mappings are now obtained from IColumnBase.StoreTypeMapping

Gets the container column type mapping to which the entity type is mapped.

public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? GetContainerColumnTypeMapping (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
[System.Obsolete("Container column mappings are now obtained from IColumnBase.StoreTypeMapping")]
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? GetContainerColumnTypeMapping (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetContainerColumnTypeMapping : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
[<System.Obsolete("Container column mappings are now obtained from IColumnBase.StoreTypeMapping")>]
static member GetContainerColumnTypeMapping : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
<Extension()>
Public Function GetContainerColumnTypeMapping (entityType As IReadOnlyEntityType) As RelationalTypeMapping

Parameters

entityType
IReadOnlyEntityType

The entity type to get the container column type mapping for.

Returns

The container column type mapping to which the entity type is mapped.

Attributes

Applies to