RelationalEntityTypeExtensions.GetMappingFragments 方法

定义

重载

GetMappingFragments(IConventionEntityType)

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

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

GetMappingFragments(IEntityType)

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

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

GetMappingFragments(IMutableEntityType)

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

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

GetMappingFragments(IReadOnlyEntityType)

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

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

GetMappingFragments(IConventionEntityType, StoreObjectType)

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

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

GetMappingFragments(IEntityType, StoreObjectType)

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

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

GetMappingFragments(IMutableEntityType, StoreObjectType)

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

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

GetMappingFragments(IReadOnlyEntityType, StoreObjectType)

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

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

GetMappingFragments(IConventionEntityType)

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

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

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

参数

entityType
IConventionEntityType

实体类型。

返回

配置的实体类型映射片段。

适用于

GetMappingFragments(IEntityType)

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

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

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

参数

entityType
IEntityType

实体类型。

返回

配置的实体类型映射片段。

适用于

GetMappingFragments(IMutableEntityType)

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

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

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

参数

entityType
IMutableEntityType

实体类型。

返回

配置的实体类型映射片段。

适用于

GetMappingFragments(IReadOnlyEntityType)

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

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

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

参数

entityType
IReadOnlyEntityType

实体类型。

返回

配置的实体类型映射片段。

适用于

GetMappingFragments(IConventionEntityType, StoreObjectType)

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

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

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

参数

entityType
IConventionEntityType

实体类型。

storeObjectType
StoreObjectType

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

返回

配置的实体类型映射片段。

适用于

GetMappingFragments(IEntityType, StoreObjectType)

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

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

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

参数

entityType
IEntityType

实体类型。

storeObjectType
StoreObjectType

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

返回

配置的实体类型映射片段。

适用于

GetMappingFragments(IMutableEntityType, StoreObjectType)

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

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

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

参数

entityType
IMutableEntityType

实体类型。

storeObjectType
StoreObjectType

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

返回

配置的实体类型映射片段。

适用于

GetMappingFragments(IReadOnlyEntityType, StoreObjectType)

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

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

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

参数

entityType
IReadOnlyEntityType

实体类型。

storeObjectType
StoreObjectType

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

返回

配置的实体类型映射片段。

适用于