Table(Of TEntity).ITable.InsertAllOnSubmit Method (IEnumerable)

 

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

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

Private Sub InsertAllOnSubmit (
	entities As IEnumerable
)
	Implements ITable.InsertAllOnSubmit

Parameters

entities
Type: System.Collections.IEnumerable

The collection of entities to be added.

This member is an explicit interface member implementation. It can be used only when the Table(Of TEntity) instance is cast to an ITable interface.

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