Questo argomento non è stato ancora valutato - Valuta questo argomento

Table<TEntity>.InsertAllOnSubmit<TSubEntity> Method

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)
public void InsertAllOnSubmit<TSubEntity>(
	IEnumerable<TSubEntity> entities
)
where TSubEntity : TEntity

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.

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

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

Il documento è risultato utile?
(1500 caratteri rimanenti)

Aggiunte alla community

AGGIUNGI
Microsoft sta conducendo un sondaggio in linea per comprendere l'opinione degli utenti in merito al sito Web di MSDN. Se si sceglie di partecipare, quando si lascia il sito Web di MSDN verrà visualizzato il sondaggio in linea.

Si desidera partecipare?
© 2013 Microsoft. Tutti i diritti riservati.