ITable::DeleteAllOnSubmit Method (IEnumerable^)

 

Puts all entities from the collection into a pending delete state.

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

void DeleteAllOnSubmit(
	IEnumerable^ entities
)

Parameters

entities
Type: System.Collections::IEnumerable^

The collection from which all items are removed.

Call SubmitChanges to perform the actual deletion in the database.

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