Share via


RelationalElementTypeExtensions.FindRelationalTypeMapping Method

Definition

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

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

Parameters

elementType
IReadOnlyElementType

The element.

Returns

The type mapping, or null if none was found.

Attributes

Applies to