UnitOfWork.AddCollectionForSave Method (IEntityCollection, Boolean) | 
 
            Adds the collection with entities for saving. 
            
 
    Namespace: 
   SD.LLBLGen.Pro.ORMSupportClasses
    Assembly:
   SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntaxpublic virtual void AddCollectionForSave(
	IEntityCollection collectionToSave,
	bool recurse
)
Public Overridable Sub AddCollectionForSave ( 
	collectionToSave As IEntityCollection,
	recurse As Boolean
)
Parameters
- collectionToSave
 - Type: SD.LLBLGen.Pro.ORMSupportClasses.IEntityCollection
collection with entities to be added for saving - recurse
 - Type: System.Boolean
When true, it will save all dirty objects referenced (directly or indirectly) by this entity also. 
See Also