Table<TEntity>.ITable.InsertAllOnSubmit(IEnumerable) 方法

定義

將集合的所有實體加入至 pending insert 狀態的 DataContext

 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

參數

entities
IEnumerable

要加入的實體集合。

實作

備註

這個成員是明確介面成員實作, 只有在 Table<TEntity> 執行個體轉換成 ITable 介面時,才能使用這個成員。

適用於