DynamicQueryEngineBaseCreateDeleteDQ Method (IFieldPersistenceInfo, DbConnection, ListIPredicate) |
Creates a new Delete Query object which is ready to use.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax public IActionQuery CreateDeleteDQ(
IFieldPersistenceInfo[] fieldsPersistenceInfo,
DbConnection connectionToUse,
List<IPredicate> pkFilters
)
Public Function CreateDeleteDQ (
fieldsPersistenceInfo As IFieldPersistenceInfo(),
connectionToUse As DbConnection,
pkFilters As List(Of IPredicate)
) As IActionQuery
Parameters
- fieldsPersistenceInfo
- Type: SD.LLBLGen.Pro.ORMSupportClassesIFieldPersistenceInfo
Array of IFieldPersistenceInfo objects to use to build the delete query - connectionToUse
- Type: System.Data.CommonDbConnection
The connection to use for the query - pkFilters
- Type: System.Collections.GenericListIPredicate
Arraylist, with for each entity (from root to leaf) the PK filter for that entity.
Return Value
Type:
IActionQueryIActionQuery instance which is ready to be used.
Exceptions Remarks Generic version
See Also