Click or drag to resize

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.6.0.0 (5.6.19.0117)
Syntax
public void AddDeleteEntitiesDirectlyCall(
	Type typeOfEntity,
	IRelationPredicateBucket filterBucket
)

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