IComplexProperty 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示结构类型的复杂属性。
public interface IComplexProperty : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyComplexProperty
type IComplexProperty = interface
interface IReadOnlyComplexProperty
interface IReadOnlyPropertyBase
interface IReadOnlyAnnotatable
interface IPropertyBase
interface IAnnotatable
Public Interface IComplexProperty
Implements IPropertyBase, IReadOnlyComplexProperty
- 派生
- 实现
注解
有关详细信息和示例,请参阅 复杂类型 。
属性
| 名称 | 说明 |
|---|---|
| ClrType |
获取此属性类对象保存的值的类型。 (继承自 IReadOnlyPropertyBase) |
| ComplexType |
获取关联的复杂类型。 |
| DeclaringEntityType |
已过时.
获取此属性所属的实体类型。 (继承自 IPropertyBase) |
| DeclaringType |
获取此属性类对象所属的类型。 (继承自 IReadOnlyPropertyBase) |
| FieldInfo |
获取 FieldInfo 此属性类似对象的基础 CLR 字段。
这可能 |
| IsCollection |
获取一个值,该值指示属性是否为集合。 (继承自 IReadOnlyPropertyBase) |
| IsNullable |
获取一个值,该值指示此属性是否可以包含 |
| Item[String] |
获取具有给定名称的批注的值,如果不存在,则 |
| Name |
获取类似于此属性的对象的名称。 (继承自 IReadOnlyPropertyBase) |
| PropertyInfo |
获取 PropertyInfo 此属性类似对象的基础 CLR 属性。
这可能 |
| Sentinel |
获取指示未设置此属性的 sentinel 值。 (继承自 IReadOnlyPropertyBase) |