RelationalTypeBaseExtensions.FindMappingFragment 方法

定义

重载

FindMappingFragment(IReadOnlyTypeBase, StoreObjectIdentifier)

返回特定类似表的存储对象的类型映射。

此方法通常由数据库提供程序 (和其他扩展) 使用。 它通常不在应用程序代码中使用。

FindMappingFragment(ITypeBase, StoreObjectIdentifier)

返回特定类似表的存储对象的类型映射。

此方法通常由数据库提供程序 (和其他扩展) 使用。 它通常不在应用程序代码中使用。

FindMappingFragment(IReadOnlyTypeBase, StoreObjectIdentifier)

返回特定类似表的存储对象的类型映射。

此方法通常由数据库提供程序 (和其他扩展) 使用。 它通常不在应用程序代码中使用。

public static Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment? FindMappingFragment (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase typeBase, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindMappingFragment : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment
<Extension()>
Public Function FindMappingFragment (typeBase As IReadOnlyTypeBase, ByRef storeObject As StoreObjectIdentifier) As IReadOnlyEntityTypeMappingFragment

参数

typeBase
IReadOnlyTypeBase

类型。

storeObject
StoreObjectIdentifier

类似表的存储对象的标识符。

返回

一个表示类型映射片段的对象。

适用于

FindMappingFragment(ITypeBase, StoreObjectIdentifier)

返回特定类似表的存储对象的类型映射。

此方法通常由数据库提供程序 (和其他扩展) 使用。 它通常不在应用程序代码中使用。

public static Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment? FindMappingFragment (this Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindMappingFragment : Microsoft.EntityFrameworkCore.Metadata.ITypeBase * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment
<Extension()>
Public Function FindMappingFragment (typeBase As ITypeBase, ByRef storeObject As StoreObjectIdentifier) As IEntityTypeMappingFragment

参数

typeBase
ITypeBase

类型。

storeObject
StoreObjectIdentifier

类似表的存储对象的标识符。

返回

一个表示类型映射片段的对象。

适用于