Click or drag to resize
DynamicQueryEngineCreateSingleTargetDeleteDQ Method (IFieldPersistenceInfo, IActionQuery, IPredicate, IRelationCollection)
Creates a new Delete Query object which is ready to use.

Namespace: SD.LLBLGen.Pro.DQE.SybaseAsa
Assembly: SD.LLBLGen.Pro.DQE.SybaseAsa (in SD.LLBLGen.Pro.DQE.SybaseAsa.dll) Version: 5.0.0.0 (5.0.0)
Syntax
protected override void CreateSingleTargetDeleteDQ(
	IFieldPersistenceInfo[] fieldsPersistenceInfo,
	IActionQuery query,
	IPredicate deleteFilter,
	IRelationCollection relationsToWalk
)

Parameters

fieldsPersistenceInfo
Type: SD.LLBLGen.Pro.ORMSupportClassesIFieldPersistenceInfo
Array of IFieldPersistenceInfo objects to use to build the delete query
query
Type: SD.LLBLGen.Pro.ORMSupportClassesIActionQuery
The query object to fill.
deleteFilter
Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
A complete IPredicate implementing object which contains the filter for the rows to delete
relationsToWalk
Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
list of EntityRelation objects, which will be used to formulate a second FROM clause with INNER JOINs.
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen persistenceInfo is null or when deleteFilter is null or when relationsToWalk is null
Remarks
Generic version
See Also