IClrPropertyGetter 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示支持获取映射 EF 属性值的已编译委托支持的操作。
此类型通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。
public interface IClrPropertyGetter
type IClrPropertyGetter = interface
Public Interface IClrPropertyGetter
注解
有关详细信息和示例,请参阅 数据库提供程序和扩展的实现 。
方法
| 名称 | 说明 |
|---|---|
| GetClrValue(Object) |
从声明类型获取属性值。 |
| GetClrValueUsingContainingEntity(Object, IReadOnlyList<Int32>) |
从包含的实体实例获取属性值。 |
| GetClrValueUsingContainingEntity(Object) |
从包含的实体实例获取属性值。 |
| HasDefaultValue(Object) |
检查属性是否设置为 CLR 默认值,使其类型。 |
| HasSentinel(Object) |
检查属性是否设置为 CLR 默认值,使其类型。 |
| HasSentinelUsingContainingEntity(Object) |
检查属性是否设置为 CLR 默认值,使其类型。 |
| HasSentinelValue(Object) |
检查属性是否设置为 CLR 默认值,使其类型。 |
| HasSentinelValueUsingContainingEntity(Object, IReadOnlyList<Int32>) |
检查包含实体实例中的属性是否设置为其类型的 CLR 默认值。 |
| HasSentinelValueUsingContainingEntity(Object) |
检查包含实体实例中的属性是否设置为其类型的 CLR 默认值。 |