IMutablePropertyBase 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
导航和标量属性的基类型。
public interface IMutablePropertyBase : Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase
public interface IMutablePropertyBase : Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase
type IMutablePropertyBase = interface
interface IPropertyBase
interface IAnnotatable
interface IMutableAnnotatable
type IMutablePropertyBase = interface
interface IReadOnlyPropertyBase
interface IReadOnlyAnnotatable
interface IMutableAnnotatable
Public Interface IMutablePropertyBase
Implements IMutableAnnotatable, IPropertyBase
Public Interface IMutablePropertyBase
Implements IMutableAnnotatable, IReadOnlyPropertyBase
- 派生
- 实现
注解
此接口在模型创建期间使用,并允许修改元数据。 生成模型后, IReadOnlyPropertyBase 表示相同元数据的只读视图。
有关详细信息和示例,请参阅 为实体类型和关系建模 。
属性
ClrType |
获取类似于属性的对象所保留的值的类型。 (继承自 IReadOnlyPropertyBase) |
DeclaringEntityType |
已过时.
获取此属性所属的实体类型。 (继承自 IPropertyBase) |
DeclaringType |
获取此属性所属的类型。 |
FieldInfo |
获取或设置此属性的基础 CLR 字段。
这可能 |
Item[String] |
获取具有给定名称的批注的值,如果不存在,则返回 |
Name |
获取类似于此属性的对象的名称。 (继承自 IReadOnlyPropertyBase) |
PropertyInfo |
获取 PropertyInfo 类似于此属性的对象的基础 CLR 属性的 。
这可能 |
Sentinel |
获取指示未设置此属性的 sentinel 值。 (继承自 IReadOnlyPropertyBase) |