Click or drag to resize

DataAccessAdapterCoreCreateDeleteDQ Method (IFieldPersistenceInfo, 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.6.0.0 (5.6.19.0117)
Syntax
protected virtual IActionQuery CreateDeleteDQ(
	IFieldPersistenceInfo[] fieldsPersistenceInfo,
	List<IPredicate> pkFilters
)

Parameters

fieldsPersistenceInfo
Type: SD.LLBLGen.Pro.ORMSupportClassesIFieldPersistenceInfo
Array of IFieldPersistenceInfo objects to use to build the delete query
pkFilters
Type: System.Collections.GenericListIPredicate
List, with for each entity (from root to leaf) the PK filter for that entity.

Return Value

Type: IActionQuery
IActionQuery instance which is ready to be used.
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen persistenceInfo is null
Remarks
Generic version
See Also