DataAccessAdapterCoreCreateUpdateDQ Method (IEntity2, IFieldPersistenceInfo, ListIPredicate, IPredicateExpression, IRelationCollection) |
Creates a new Update DQ for the entity passed in.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax protected virtual IActionQuery CreateUpdateDQ(
IEntity2 entityWithNewValues,
IFieldPersistenceInfo[] persistenceInfoObjects,
List<IPredicate> pkFilters,
IPredicateExpression additionalFilter,
IRelationCollection relationsToWalk
)
Protected Overridable Function CreateUpdateDQ (
entityWithNewValues As IEntity2,
persistenceInfoObjects As IFieldPersistenceInfo(),
pkFilters As List(Of IPredicate),
additionalFilter As IPredicateExpression,
relationsToWalk As IRelationCollection
) As IActionQuery
Parameters
- entityWithNewValues
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntity2
the entity to with new values to use for the SET clauses - persistenceInfoObjects
- Type: SD.LLBLGen.Pro.ORMSupportClassesIFieldPersistenceInfo
persistence objects for the fields in entityWithNewValues - pkFilters
- Type: System.Collections.GenericListIPredicate
List, with for each entity (from root to leaf) the PK filter for that entity. - additionalFilter
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicateExpression
The additional filter to use in the update query, used for concurrency purposes - relationsToWalk
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
Relations to walk to fulfill the filter
Return Value
Type:
IActionQuerya fully usable IActionQuery object
See Also