Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
ITable Interface
ITable Methods
 DeleteAllOnSubmit Method
.NET Framework Class Library
ITable..::.DeleteAllOnSubmit Method

Updated: November 2007

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

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

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
)
J#
void DeleteAllOnSubmit(
    IEnumerable entities
)
JScript
function DeleteAllOnSubmit(
    entities : IEnumerable
)

Parameters

entities
Type: System.Collections..::.IEnumerable

The collection from which all items are removed.

Call SubmitChanges to perform the actual deletion in the database.

Windows Vista, Windows XP SP2, 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.

.NET Framework

Supported in: 3.5
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker