Delen via


RelationalPropertyExtensions.FindRelationalMapping(IProperty) Method

Definition

Caution

Use FindRelationalTypeMapping

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

[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping FindRelationalMapping (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[System.Diagnostics.DebuggerStepThrough]
[System.Obsolete("Use FindRelationalTypeMapping")]
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping FindRelationalMapping (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[System.Diagnostics.DebuggerStepThrough]
[System.Obsolete("Use FindRelationalTypeMapping")]
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? FindRelationalMapping (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[<System.Diagnostics.DebuggerStepThrough>]
static member FindRelationalMapping : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Obsolete("Use FindRelationalTypeMapping")>]
static member FindRelationalMapping : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
<Extension()>
Public Function FindRelationalMapping (property As IProperty) As RelationalTypeMapping

Parameters

property
IProperty

The property.

Returns

The type mapping, or null if none was found.

Attributes

Applies to