LinqDataSourceView.DeleteDataObject(Object, Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.