InsertAllOnSubmit Method

ITable.InsertAllOnSubmit Method

Adds all entities of a collection to the DataContext in a pending insert state.

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

'Declaration
Sub InsertAllOnSubmit ( _
	entities As IEnumerable _
)
'Usage
Dim instance As ITable 
Dim entities As IEnumerable

instance.InsertAllOnSubmit(entities)

Parameters

entities
Type: System.Collections.IEnumerable

The entities to add.

Call SubmitChanges to perform the actual insertion into the database.

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.

.NET Framework

Supported in: 3.5

Community Additions

ADD
Show:
© 2016 Microsoft