ITable.InsertAllOnSubmit Method
.NET Framework 3.5
Adds all entities of a collection to the DataContext in a pending insert state.
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.