Table<'TEntity>.InsertOnSubmit Method ('TEntity)

 

Adds an entity in a pending insert state to this Table<'TEntity>.

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

abstract InsertOnSubmit : 
        entity:'TEntity -> unit
override InsertOnSubmit : 
        entity:'TEntity -> unit

Parameters

entity
Type: TEntity

The entity to be added.

The added entity will not appear in query results from this table until after SubmitChanges has been called.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show: