共用方式為


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 為 。

屬性

適用於