ObjectStateEntry.ChangeState Method (EntityState)
Changes state of the entry to the specified EntityState value.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- state
-
Type:
System.Data.Entity.EntityState
The EntityState value to set for the State property of the entry.