DbMemberEntry<TEntity, TProperty>.CurrentValue 属性

[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]

获取或设置此属性的当前值。

命名空间:  System.Data.Entity.Infrastructure
程序集:  EntityFramework(在 EntityFramework.dll 中)

语法

声明
Public MustOverride Property CurrentValue As TProperty
    Get 
    Set
用法
Dim instance As DbMemberEntry 
Dim value As TProperty

value = instance.CurrentValue

instance.CurrentValue = value
public abstract TProperty CurrentValue { get; set; }
public:
virtual property TProperty CurrentValue {
    TProperty get () abstract;
    void set (TProperty value) abstract;
}
abstract CurrentValue : 'TProperty with get, set
abstract function get CurrentValue () : TProperty
abstract function set CurrentValue (value : TProperty)

属性值

类型:TProperty
当前值。

请参阅

参考

DbMemberEntry<TEntity, TProperty> 类

System.Data.Entity.Infrastructure 命名空间