語言

ComplexCollectionEntry.CurrentValue 屬性

定義

取得或設定目前分配給這個 complexProperty 的值。 如果目前值是用這個 complexProperty 設定的,變更追蹤器會知道變更,且 DetectChanges() 上下文不需要它來偵測變更。

[System.Runtime.CompilerServices.Nullable(2)]
public virtual System.Collections.IEnumerable? CurrentValue { get; set; }
[<System.Runtime.CompilerServices.Nullable(2)>]
member this.CurrentValue : System.Collections.IEnumerable with get, set
Public Overridable Property CurrentValue As IEnumerable

屬性值

屬性

備註

更多資訊與範例請參閱 EF Core 中的「存取追蹤實體 」及 「變更外鍵與導覽 」。

適用於