Table<TEntity>.InsertAllOnSubmit<TSubEntity> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds all entities of a collection to the DataContext in a pending insert
state.
public:
generic <typename TSubEntity>
where TSubEntity : TEntity void InsertAllOnSubmit(System::Collections::Generic::IEnumerable<TSubEntity> ^ entities);
public void InsertAllOnSubmit<TSubEntity> (System.Collections.Generic.IEnumerable<TSubEntity> entities) where TSubEntity : TEntity;
member this.InsertAllOnSubmit : seq<#'Entity> -> unit
Public Sub InsertAllOnSubmit(Of TSubEntity As TEntity) (entities As IEnumerable(Of TSubEntity))
Type Parameters
- TSubEntity
The type of the elements to insert.
Parameters
- entities
- IEnumerable<TSubEntity>
The entities to add.
Remarks
The added entities will not be in query results until after SubmitChanges has been called.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.