LinqConnect Documentation
Devart.Data.Linq Namespace / ITable Interface / InsertAllOnSubmit Method
The entities to add.

In This Topic
    InsertAllOnSubmit Method (ITable)
    In This Topic
    Adds all entities of a collection to the DataContext in a pending insert state.
    Syntax
    'Declaration
     
    Sub InsertAllOnSubmit( _
       ByVal entities As IEnumerable _
    ) 
    void InsertAllOnSubmit( 
       IEnumerable entities
    )

    Parameters

    entities
    The entities to add.
    Remarks
    Call SubmitChanges to perform the actual insertion into the database.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also