Partager via


ITable.InsertAllOnSubmit Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Adds all entities of a collection to the DataContext in a pending insert state.

Namespace:  System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

Syntax

'Declaration
Sub InsertAllOnSubmit ( _
    entities As IEnumerable _
)
void InsertAllOnSubmit(
    IEnumerable entities
)

Parameters

Remarks

Call SubmitChanges to perform the actual insertion into the database.

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.