Redigeeri

Jagamisviis:


Table<TEntity>.ITable.InsertAllOnSubmit(IEnumerable) Method

Definition

Adds all entities of a collection to the DataContext in an pending insert state.

 virtual void System.Data.Linq.ITable.InsertAllOnSubmit(System::Collections::IEnumerable ^ entities) = System::Data::Linq::ITable::InsertAllOnSubmit;
void ITable.InsertAllOnSubmit (System.Collections.IEnumerable entities);
abstract member System.Data.Linq.ITable.InsertAllOnSubmit : System.Collections.IEnumerable -> unit
override this.System.Data.Linq.ITable.InsertAllOnSubmit : System.Collections.IEnumerable -> unit
Sub InsertAllOnSubmit (entities As IEnumerable) Implements ITable.InsertAllOnSubmit

Parameters

entities
IEnumerable

The collection of entities to be added.

Implements

Remarks

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

Applies to