共用方式為


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

要刪除的物件。

適用於