ObjectStateEntry.ChangeState(EntityState) Method    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Changes state of the entry to the specified EntityState value.
public:
 abstract void ChangeState(System::Data::EntityState state);
	public abstract void ChangeState(System.Data.EntityState state);
	abstract member ChangeState : System.Data.EntityState -> unit
	Public MustOverride Sub ChangeState (state As EntityState)
	Parameters
- state
 - EntityState
 
The EntityState value to set for the State property of the entry.