UnitOfWork2AddCollectionForSave Method (IEntityCollection2, Boolean, 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)
Syntax public virtual void AddCollectionForSave(
IEntityCollection2 collectionToSave,
bool refetch,
bool recurse
)
Public Overridable Sub AddCollectionForSave (
collectionToSave As IEntityCollection2,
refetch As Boolean,
recurse As Boolean
)
Parameters
- collectionToSave
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCollection2
collection with entities to be added for saving - refetch
- Type: SystemBoolean
When true, it will refetch all entities saved after the save action. - recurse
- Type: SystemBoolean
When true, the entities in the collection will be saved recursively.
See Also