LinqDataSourceView.DeleteDataObject(Object, Object, Object) 方法

定义

从表中删除数据对象。

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)

参数

dataContext
Object

要删除的对象的数据上下文。

table
Object

包含要删除的对象的表。

oldDataObject
Object

要删除的对象。

适用于