ITable<TEntity>.DeleteOnSubmit Method (TEntity)

 

When overridden, puts an entity from this table into a pending delete state.

Namespace:   System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

void DeleteOnSubmit(
	TEntity entity
)

Parameters

entity
Type: TEntity

The object to delete.

For more information, see DeleteOnSubmit.

.NET Framework
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show: