UnitOfWork2AddDeleteEntitiesDirectlyCall Method (String, 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.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax public void AddDeleteEntitiesDirectlyCall(
string entityName,
IRelationPredicateBucket filterBucket
)
Public Sub AddDeleteEntitiesDirectlyCall (
entityName As String,
filterBucket As IRelationPredicateBucket
)
Parameters
- entityName
- Type: SystemString
The name of the entity to retrieve persistence information. For example "CustomerEntity". This name can be retrieved from an existing entity's LLBLGenProEntityName property. - 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 doesn't use the DataAccessAdapter.DeleteEntitiesDirectly overload which performs authorization and auditing as well.
If you need authorization and/or auditing, please use the overload of AddDeleteEntitiesDirectlyCall which accepts a type.
See Also