Click or drag to resize

UnitOfWorkAddDeleteMultiCall Method (IEntityCollection, IPredicate, IRelationCollection)

Adds a call to collection.DeleteMulti(filter, relations) 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.6.0.0 (5.6.19.0117)
Syntax
public virtual void AddDeleteMultiCall(
	IEntityCollection collection,
	IPredicate filter,
	IRelationCollection relations
)

Parameters

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