PropertyExtensions.GetTypeMapping(IProperty) Method

Definition

Returns the CoreTypeMapping for the given property from a finalized model.

public static Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping GetTypeMapping (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetTypeMapping : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping
<Extension()>
Public Function GetTypeMapping (property As IProperty) As CoreTypeMapping

Parameters

property
IProperty

The property.

Returns

The type mapping.

Applies to