Click or drag to resize

UnitOfWorkAddDeleteMultiCall Method (IEntityCollection, IPredicate)

Adds a call to collection.DeleteMulti(filter) to delete entities directly from the database using the passed in criteria. The call will be executed inside the transaction used in Commit and will be executed after the last entity has been deleted but before the PostEntityDelete callbacks.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
public void AddDeleteMultiCall(
	IEntityCollection collection,
	IPredicate filter
)

Parameters

collection
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCollection
Collection object to call DeleteMulti on.
filter
Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
Filter to use.
See Also