Lingua

ComplexCollectionEntry<TEntity,TElement>.CurrentValue Proprietà

Definizione

Ottiene o imposta il valore attualmente assegnato a questa proprietà. Se il valore corrente viene impostato usando questa proprietà, lo strumento di rilevamento delle modifiche riconosce la modifica e DetectChanges() non è necessario che il contesto rilevi la modifica.

[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)

Valore della proprietà

IReadOnlyList<TElement>
Attributi

Commenti

Per altre informazioni ed esempi, vedere Accesso alle entità rilevate in EF Coree Modifica di chiavi esterne e spostamenti .

Si applica a