PropertyExtensions.FindMapping(IProperty) Method

Definition

Caution

Use FindTypeMapping instead

Returns the CoreTypeMapping for the given property.

[System.Obsolete("Use FindTypeMapping instead")]
public static Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping FindMapping (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[<System.Obsolete("Use FindTypeMapping instead")>]
static member FindMapping : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping
<Extension()>
Public Function FindMapping (property As IProperty) As CoreTypeMapping

Parameters

property
IProperty

The property.

Returns

The type mapping, or null if none was found.

Attributes

Applies to