Table<TEntity>.ITable.InsertAllOnSubmit Method

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)

void ITable.InsertAllOnSubmit(
	IEnumerable entities
)

Parameters

entities
Type: System.Collections.IEnumerable

The collection of entities to be added.

Implements

ITable.InsertAllOnSubmit(IEnumerable)

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft