ITable.InsertAllOnSubmit Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
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.
Show: