|DynamicQueryEngineBaseCreateDeleteDQ Method (IFieldPersistenceInfo, DbConnection, ListIPredicate, IPredicate, IRelationCollection)|
Creates a new Delete Query object which is ready to use.
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 18.104.22.168 (5.3.0)
public IActionQuery CreateDeleteDQ(
Public Function CreateDeleteDQ (
fieldsPersistenceInfo As IFieldPersistenceInfo(),
connectionToUse As DbConnection,
pkFilters As List(Of IPredicate),
additionalDeleteFilter As IPredicate,
relationsToWalk As IRelationCollection
) As IActionQuery
- Type: SD.LLBLGen.Pro.ORMSupportClassesIFieldPersistenceInfo
Array of IFieldPersistenceInfo objects to use to build the delete query
- Type: System.Data.CommonDbConnection
The connection to use for the query
- Type: System.Collections.GenericListIPredicate
Arraylist, with for each entity (from root to leaf) the PK filter for that entity.
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
Extra predicate for concurrency purposes.
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
list of EntityRelation objects, which will be used to formulate a second FROM clause with INNER JOINs.
IActionQuery instance which is ready to be used.
|ArgumentNullException||When persistenceInfo is null or when deleteFilter is null or when relationsToWalk is null|Remarks