Bahasa

ComplexCollectionEntry<TEntity,TElement>.CurrentValue Properti

Definisi

Mendapatkan atau mengatur nilai yang saat ini ditetapkan ke properti ini. Jika nilai saat ini diatur menggunakan properti ini, pelacak perubahan mengetahui perubahan dan DetectChanges() tidak diperlukan untuk konteks untuk mendeteksi perubahan.

[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 2, 1 })]
public virtual System.Collections.Generic.IReadOnlyList<TElement>? CurrentValue { get; set; }
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 2, 1 })>]
member this.CurrentValue : System.Collections.Generic.IReadOnlyList<'Element> with get, set
Public Overridable Property CurrentValue As IReadOnlyList(Of TElement)

Nilai Properti

IReadOnlyList<TElement>
Atribut

Keterangan

Lihat Mengakses entitas terlacak di EF Core dan Mengubah kunci dan navigasi asing untuk informasi dan contoh selengkapnya.

Berlaku untuk