Share via


RelationalElementTypeExtensions.GetRelationalTypeMapping Method

Definition

Returns the RelationalTypeMapping for the given element on a finalized model.

[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping GetRelationalTypeMapping (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyElementType elementType);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetRelationalTypeMapping : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyElementType -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
<Extension()>
Public Function GetRelationalTypeMapping (elementType As IReadOnlyElementType) As RelationalTypeMapping

Parameters

elementType
IReadOnlyElementType

The element.

Returns

The type mapping.

Attributes

Applies to