Share via


ComplexElementEntry.State Property

Definition

Gets or sets that state that this entry is in.

public virtual Microsoft.EntityFrameworkCore.EntityState State { get; set; }
member this.State : Microsoft.EntityFrameworkCore.EntityState with get, set
Public Overridable Property State As EntityState

Property Value

Remarks

This method sets the state of the complex collection element represented by this entry as well as the state of any nested complex properties and collections.

See Accessing tracked entities in EF Core for more information and examples.

Applies to