|IDaoDeleteMultiAsync Method |
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 18.104.22.168 (5.3.0)
Function DeleteMultiAsync (
containingTransaction As ITransaction,
deleteFilter As IPredicate,
relations As IRelationCollection,
cancellationToken As CancellationToken
) As Task(Of Integer)
- Type: SD.LLBLGen.Pro.ORMSupportClassesITransaction
A containing transaction, if caller is added to a transaction, or null if not.
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
A predicate or predicate expression which should be used as filter for the entities to delete.
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
The set of relations to walk to construct the total query.
- Type: System.ThreadingCancellationToken
The cancellation token.
Number of entities affected, if the used persistent storage has rowcounting enabled.
Not supported for deleting entities which are part of a TargetPerEntity hierarchy