Edit

Share via


QueryableDataSourceView.DeleteObject(Object) Method

Definition

Deletes a data object from a table.

protected:
 virtual int DeleteObject(System::Object ^ oldEntity);
protected virtual int DeleteObject (object oldEntity);
abstract member DeleteObject : obj -> int
override this.DeleteObject : obj -> int
Protected Overridable Function DeleteObject (oldEntity As Object) As Integer

Parameters

oldEntity
Object

The data object to delete.

Returns

The number of rows that were deleted from the data object.

Applies to