Share via


ObjectStateEntry.ChangeState(EntityState) Method

Definition

Changes state of the entry to the specified EntityState value.

public abstract void ChangeState (System.Data.Entity.EntityState state);
abstract member ChangeState : System.Data.Entity.EntityState -> unit
Public MustOverride Sub ChangeState (state As EntityState)

Parameters

state
EntityState

The EntityState value to set for the State property of the entry.

Applies to