.NET Framework Class Library
ITable..::.DeleteAllOnSubmit Method

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

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

Visual Basic (Declaration)
Sub DeleteAllOnSubmit ( _
    entities As IEnumerable _
)
Visual Basic (Usage)
Dim instance As ITable
Dim entities As IEnumerable

instance.DeleteAllOnSubmit(entities)
C#
void DeleteAllOnSubmit(
    IEnumerable entities
)
Visual C++
void DeleteAllOnSubmit(
    IEnumerable^ entities
)
JScript
function DeleteAllOnSubmit(
    entities : IEnumerable
)

Parameters

entities
Type: System.Collections..::.IEnumerable
The collection from which all items are removed.
Remarks

Call SubmitChanges to perform the actual deletion in the database.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5
See Also

Reference

Tags :


Page view tracker