InsertOnSubmit Method

Table(Of TEntity).InsertOnSubmit Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Adds an entity in a pending insert state to this Table(Of TEntity).

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

'Declaration
Public Sub InsertOnSubmit ( _
	entity As TEntity _
)

Parameters

entity
Type: TEntity
The entity to be added.

Implements

ITable(Of TEntity).InsertOnSubmit(TEntity)

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft