Click or drag to resize
UnitOfWorkAddCollectionForSave Method (IEntityCollection, Boolean)
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.

Namespace: SD.LLBLGen.Pro.ORMSupportClasses
Assembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax
public virtual void AddCollectionForSave(
	IEntityCollection collectionToSave,
	bool recurse
)

Parameters

collectionToSave
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCollection
collection with entities to be added for saving
recurse
Type: SystemBoolean
When true, it will save all dirty objects referenced (directly or indirectly) by this entity also.
See Also