RelationalPropertyExtensions.FindRelationalMapping(IProperty) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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
则为 。
- 属性