Click or drag to resize
DynamicQueryEngineBase.CreateSingleTargetDeleteDQUsingKeywordClause Method
Creates a new Delete Query object which is ready to use. Uses keyword clause (using keyword FROM/USING etc.)) for filtering

Namespace: SD.LLBLGen.Pro.ORMSupportClasses
Assembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax
protected void CreateSingleTargetDeleteDQUsingKeywordClause(
	IFieldPersistenceInfo[] fieldsPersistenceInfo,
	IActionQuery query,
	IPredicate deleteFilter,
	IRelationCollection relationsToWalk,
	string keyword
)

Parameters

fieldsPersistenceInfo
Type:SD.LLBLGen.Pro.ORMSupportClasses.IFieldPersistenceInfo[]
Array of IFieldPersistenceInfo objects to use to build the delete query
query
Type: SD.LLBLGen.Pro.ORMSupportClasses.IActionQuery
The query object to fill.
deleteFilter
Type: SD.LLBLGen.Pro.ORMSupportClasses.IPredicate
A complete IPredicate implementing object which contains the filter for the rows to delete
relationsToWalk
Type: SD.LLBLGen.Pro.ORMSupportClasses.IRelationCollection
list of EntityRelation objects, which will be used to formulate a second FROM clause with INNER JOINs.
keyword
Type: System.String
The keyword for the filter clause
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen persistenceInfo is null or when deleteFilter is null or when relationsToWalk is null
See Also