QueryableDataSourceView.UpdateObject(Object, Object) 方法

定义

更新数据对象。

protected:
 virtual int UpdateObject(System::Object ^ oldEntity, System::Object ^ newEntity);
protected virtual int UpdateObject (object oldEntity, object newEntity);
abstract member UpdateObject : obj * obj -> int
override this.UpdateObject : obj * obj -> int
Protected Overridable Function UpdateObject (oldEntity As Object, newEntity As Object) As Integer

参数

oldEntity
Object

要更新的对象。

newEntity
Object

已更新的对象。

返回

Int32

已在数据对象中更新的行数。

适用于