RelationalTypeBaseExtensions.GetMappingFragments 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
类型。
返回
配置的类型映射片段。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈