DbEntityEntry.State Property

 

Gets or sets the state of the entity.

Namespace:   System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

public EntityState State { get; set; }

Property Value

Type: System.Data.Entity.EntityState

The state.