ITable::InsertAllOnSubmit Method (IEnumerable^)
.NET Framework (current version)
Adds all entities of a collection to the DataContext in a pending insert state.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
Parameters
- 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
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Show: