UnitOfWork2AddCollectionForDelete Method |
Adds the collection with entities for deletion. 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.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax public virtual void AddCollectionForDelete(
IEntityCollection2 collectionToDelete
)
Public Overridable Sub AddCollectionForDelete (
collectionToDelete As IEntityCollection2
)
Parameters
- collectionToDelete
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCollection2
collection with entities to be added for deletion
See Also