UnitOfWork2AddDeleteEntitiesDirectlyCall Method (Type, IRelationPredicateBucket) |
Adds a DeleteEntitiesDirectly call to be scheduled during Commit. It is called right after the last entity has been deleted but before the post delete
callbacks are called.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax public void AddDeleteEntitiesDirectlyCall(
Type typeOfEntity,
IRelationPredicateBucket filterBucket
)
Public Sub AddDeleteEntitiesDirectlyCall (
typeOfEntity As Type,
filterBucket As IRelationPredicateBucket
)
Parameters
- typeOfEntity
- Type: SystemType
The type of the entity to delete - filterBucket
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationPredicateBucket
filter information to filter out the entities to delete
Remarks the method is called on the adapter passed in to Commit.
This overload uses the DataAccessAdapter.DeleteEntitiesDirectly overload which performs authorization as well.
See Also