This documentation is archived and is not being maintained.
Table<TEntity>::InsertAllOnSubmit<TSubEntity> Method
Visual Studio 2008
Adds all entities of a collection to the DataContext in a pending insert state.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
public: generic<typename TSubEntity> where TSubEntity : void InsertAllOnSubmit( IEnumerable<TSubEntity>^ entities )
Type Parameters
- TSubEntity
The type of the elements to insert.
Parameters
- entities
- Type: System.Collections.Generic::IEnumerable<TSubEntity>
The entities to add.
The added entities will not be in query results until after SubmitChanges has been called.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: