DynamicQueryEngineBaseCreateSingleTargetDeleteDQUsingKeywordClause 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.8.0.0 (5.8.21.0111)
Syntax protected void CreateSingleTargetDeleteDQUsingKeywordClause(
IFieldPersistenceInfo[] fieldsPersistenceInfo,
IActionQuery query,
IPredicate deleteFilter,
IRelationCollection relationsToWalk,
string keyword
)
Protected Sub CreateSingleTargetDeleteDQUsingKeywordClause (
fieldsPersistenceInfo As IFieldPersistenceInfo(),
query As IActionQuery,
deleteFilter As IPredicate,
relationsToWalk As IRelationCollection,
keyword As String
)
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. - keyword
- Type: SystemString
The keyword for the filter clause
Exceptions Exception | Condition |
---|
ArgumentNullException | When persistenceInfo is null or when deleteFilter is null or when relationsToWalk is null |
See Also