Click or drag to resize
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.3.0.0 (5.3.0)
Syntax
protected virtual IActionQuery CreateUpdateDQ(
	IEntity2 entityWithNewValues,
	IFieldPersistenceInfo[] persistenceInfoObjects,
	List<IPredicate> pkFilters,
	IPredicateExpression additionalFilter,
	IRelationCollection relationsToWalk
)

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: IActionQuery
a fully usable IActionQuery object
See Also