UnitOfWork2AddCollectionForSave Method (IEntityCollection2) |
Adds the collection with entities for saving. When the UnitOfWork is committed, the entities in the collection are added to the
correct process bins to make sure the order is correct. No recursion and no refetch are done for these entities.
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax public void AddCollectionForSave(
IEntityCollection2 collectionToSave
)
Public Sub AddCollectionForSave (
collectionToSave As IEntityCollection2
)
Parameters
- collectionToSave
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCollection2
collection with entities to be added for saving
See Also