Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ITable.InsertAllOnSubmit Method

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
)

Parameters

entities
Type: System.Collections.IEnumerable

The entities to add.

Call SubmitChanges to perform the actual insertion into the database.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft