RelationalTypeBaseExtensions.GetMappingFragments 方法

定义

重载

GetMappingFragments(ITypeBase, StoreObjectType)

返回给定类型的所有已配置类型映射片段。

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

GetMappingFragments(IReadOnlyTypeBase, StoreObjectType)

返回给定类型的所有已配置类型映射片段。

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

GetMappingFragments(ITypeBase)

返回所有配置的类型映射片段。

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

GetMappingFragments(IReadOnlyTypeBase)

返回所有配置的类型映射片段。

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

GetMappingFragments(ITypeBase, StoreObjectType)

返回给定类型的所有已配置类型映射片段。

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

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase, Microsoft.EntityFrameworkCore.Metadata.StoreObjectType storeObjectType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.ITypeBase * Microsoft.EntityFrameworkCore.Metadata.StoreObjectType -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (typeBase As ITypeBase, storeObjectType As StoreObjectType) As IEnumerable(Of IEntityTypeMappingFragment)

参数

typeBase
ITypeBase

类型。

storeObjectType
StoreObjectType

要获取其映射片段的存储对象的类型。

返回

配置的类型映射片段。

适用于

GetMappingFragments(IReadOnlyTypeBase, StoreObjectType)

返回给定类型的所有已配置类型映射片段。

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

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase typeBase, Microsoft.EntityFrameworkCore.Metadata.StoreObjectType storeObjectType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase * Microsoft.EntityFrameworkCore.Metadata.StoreObjectType -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (typeBase As IReadOnlyTypeBase, storeObjectType As StoreObjectType) As IEnumerable(Of IReadOnlyEntityTypeMappingFragment)

参数

typeBase
IReadOnlyTypeBase

类型。

storeObjectType
StoreObjectType

要获取其映射片段的存储对象的类型。

返回

配置的类型映射片段。

适用于

GetMappingFragments(ITypeBase)

返回所有配置的类型映射片段。

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

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (typeBase As ITypeBase) As IEnumerable(Of IEntityTypeMappingFragment)

参数

typeBase
ITypeBase

类型。

返回

配置的类型映射片段。

适用于

GetMappingFragments(IReadOnlyTypeBase)

返回所有配置的类型映射片段。

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

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase typeBase);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (typeBase As IReadOnlyTypeBase) As IEnumerable(Of IReadOnlyEntityTypeMappingFragment)

参数

typeBase
IReadOnlyTypeBase

类型。

返回

配置的类型映射片段。

适用于