다음을 통해 공유


ModelDataSourceView.ExecuteUpdate 메서드

정의

UpdateMethod 메서드를 사용하여 업데이트 작업을 수행합니다.

protected:
 override int ExecuteUpdate(System::Collections::IDictionary ^ keys, System::Collections::IDictionary ^ values, System::Collections::IDictionary ^ oldValues);
protected override int ExecuteUpdate (System.Collections.IDictionary keys, System.Collections.IDictionary values, System.Collections.IDictionary oldValues);
override this.ExecuteUpdate : System.Collections.IDictionary * System.Collections.IDictionary * System.Collections.IDictionary -> int
Protected Overrides Function ExecuteUpdate (keys As IDictionary, values As IDictionary, oldValues As IDictionary) As Integer

매개 변수

keys
IDictionary

UpdateMethod 메서드와 함께 사용할 매개 변수입니다. 메서드와 연결된 매개 변수가 없으면 null을 전달합니다.

values
IDictionary

업데이트할 행의 새 값입니다.

oldValues
IDictionary

업데이트할 행의 이전 값입니다.

반환

Int32

삽입된 행의 수를 반환하며, 수를 알 수 없는 경우에는 -1을 반환합니다.

적용 대상