RuntimeTypeMappingConfiguration 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示标量类型配置。
public sealed class RuntimeTypeMappingConfiguration : Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBase, Microsoft.EntityFrameworkCore.Metadata.ITypeMappingConfiguration
type RuntimeTypeMappingConfiguration = class
inherit AnnotatableBase
interface ITypeMappingConfiguration
interface IAnnotatable
interface IReadOnlyAnnotatable
Public NotInheritable Class RuntimeTypeMappingConfiguration
Inherits AnnotatableBase
Implements ITypeMappingConfiguration
- 继承
- 实现
注解
有关详细信息和示例,请参阅 为实体类型和关系建模 。
构造函数
RuntimeTypeMappingConfiguration(Type, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Type, ValueConverter) |
这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 Entity Framework Core 版本时这样做可能会导致应用程序失败。 |
属性
ClrType |
获取此类似属性的对象包含的值的类型。 |
IsReadOnly |
指示当前对象是否为只读。 (继承自 AnnotatableBase) |
Item[String] |
获取具有给定名称的值批注,如果不存在,则返回 |
方法
显式接口实现
扩展方法
AnnotationsToDebugString(IAnnotatable, Int32) |
获取对象上声明的所有注释的调试字符串。 |
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈