Table<TEntity>.ITable.InsertAllOnSubmit(IEnumerable) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将集合的所有实体添加到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,才能使用它。