LinqDataSourceView.DeleteObject Method (Object)

.NET Framework (current version)
 

Deletes a data object from a table.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

protected override int DeleteObject(
	object oldEntity
)

Parameters

oldEntity
Type: System.Object

The data object to delete.

Return Value

Type: System.Int32

The number of data objects that were deleted.

.NET Framework
Available since 4.0
Return to top
Show: