Redigera

Dela via


LinqDataSourceView.UpdateDataObject(Object, Object, Object, Object) Method

Definition

Updates a data object.

protected:
 virtual void UpdateDataObject(System::Object ^ dataContext, System::Object ^ table, System::Object ^ oldDataObject, System::Object ^ newDataObject);
protected virtual void UpdateDataObject (object dataContext, object table, object oldDataObject, object newDataObject);
abstract member UpdateDataObject : obj * obj * obj * obj -> unit
override this.UpdateDataObject : obj * obj * obj * obj -> unit
Protected Overridable Sub UpdateDataObject (dataContext As Object, table As Object, oldDataObject As Object, newDataObject As Object)

Parameters

dataContext
Object

The data context class to update.

table
Object

The data collection that contains the object to update.

oldDataObject
Object

The object to be updated.

newDataObject
Object

The updated object.

Applies to