InsertAllOnSubmit Method

ITable.InsertAllOnSubmit Method (IEnumerable)


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)

void InsertAllOnSubmit(
	IEnumerable entities


Type: System.Collections.IEnumerable

The entities to add.

Call SubmitChanges to perform the actual insertion into the database.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
© 2015 Microsoft