แก้ไข

แชร์ผ่าน


ObjectStateEntry.ChangeState(EntityState) Method

Definition

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.

Applies to