แก้ไข

แชร์ผ่าน


LinqDataSourceView.DeleteDataObject(Object, Object, Object) Method

Definition

Deletes a data object from a table.

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

Parameters

dataContext
Object

The data context of the object to delete.

table
Object

The table that contains the object to delete.

oldDataObject
Object

The object to delete.

Applies to