MemberEntry.CurrentValue 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定目前分配給此屬性的值。 如果目前值是利用此特性設定,變更追蹤器會知道變更,且 DetectChanges() 上下文不需要它來偵測變更。
public virtual object CurrentValue { get; set; }
[System.Runtime.CompilerServices.Nullable(2)]
public virtual object? CurrentValue { get; set; }
public virtual object? CurrentValue { get; set; }
member this.CurrentValue : obj with get, set
[<System.Runtime.CompilerServices.Nullable(2)>]
member this.CurrentValue : obj with get, set
Public Overridable Property CurrentValue As Object
屬性值
- 屬性
備註
更多資訊與範例請參閱 EF Core 中的「存取追蹤實體 」。