ObjectStateEntry.ChangeState(EntityState) 메서드

정의

항목의 상태를 지정된 EntityState 값으로 변경합니다.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)

매개 변수

state
EntityState

항목의 EntityState 속성에 대해 설정할 State 값입니다.The EntityState value to set for the State property of the entry.

적용 대상