ObjectStateEntry::ChangeState Method (EntityState)
.NET Framework (current version)
Changes state of the entry to the specified EntityState value.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
Parameters
- state
-
Type:
System.Data::EntityState
The EntityState value to set for the State property of the entry.
.NET Framework
Available since 4.0
Available since 4.0
Show: