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

定义

将集合的所有实体添加到DataContextpending insert处于状态。

 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,才能使用它。

适用于