QueryCreationManagerCreateDeleteDQ Method (IFieldPersistenceInfo, ListIPredicate, IPredicate, IRelationCollection) |
Creates a new Delete Query object which is ready to use.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses.Adapter
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax protected virtual IActionQuery CreateDeleteDQ(
IFieldPersistenceInfo[] fieldsPersistenceInfo,
List<IPredicate> pkFilters,
IPredicate additionalDeleteFilter,
IRelationCollection relationsToWalk
)
Protected Overridable Function CreateDeleteDQ (
fieldsPersistenceInfo As IFieldPersistenceInfo(),
pkFilters As List(Of IPredicate),
additionalDeleteFilter As IPredicate,
relationsToWalk As IRelationCollection
) As IActionQuery
Parameters
- fieldsPersistenceInfo
- Type: SD.LLBLGen.Pro.ORMSupportClassesIFieldPersistenceInfo
Array of IFieldPersistenceInfo objects to use to build the delete query - pkFilters
- Type: System.Collections.GenericListIPredicate
Arraylist, with for each entity (from root to leaf) the PK filter for that entity. - additionalDeleteFilter
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
Extra predicate for concurrency purposes. - relationsToWalk
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
list of EntityRelation objects, which will be used to formulate a second FROM clause with INNER JOINs.
Return Value
Type:
IActionQueryIActionQuery instance which is ready to be used.
Exceptions Exception | Condition |
---|
ArgumentNullException | When persistenceInfo is null or when deleteFilter is null or when relationsToWalk is null |
Remarks Generic version
See Also