共用方式為


DbMemberEntry<TEntity, TProperty>.CurrentValue 屬性

[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 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 命名空間