Поделиться через


RelationalPropertyExtensions.FindRelationalMapping(IProperty) Метод

Определение

Внимание!

Use FindRelationalTypeMapping

RelationalTypeMapping Возвращает для заданного свойства в завершенной модели.

[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

Параметры

property
IProperty

Свойство.

Возвращаемое значение

Сопоставление типов или null значение , если ни одно из них не найдено.

Атрибуты

Применяется к