Edit

Share via


LinqDataSourceView.DeleteObject(Object) Method

Definition

Deletes a data object from a table.

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

Parameters

oldEntity
Object

The data object to delete.

Returns

The number of data objects that were deleted.

Applies to