DynamicQueryEngineBaseCreateUpdateDQ Method (IEntityFields, DbConnection, ListIPredicate, IPredicate, IRelationCollection) |
Creates a new Update Query object which is ready to use. Only 'changed' EntityFieldCore are included in the update query.
Primary Key fields are never updated.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax public IActionQuery CreateUpdateDQ(
IEntityFields fields,
DbConnection connectionToUse,
List<IPredicate> pkFilters,
IPredicate additionalUpdateFilter,
IRelationCollection relationsToWalk
)
Public Function CreateUpdateDQ (
fields As IEntityFields,
connectionToUse As DbConnection,
pkFilters As List(Of IPredicate),
additionalUpdateFilter As IPredicate,
relationsToWalk As IRelationCollection
) As IActionQuery
Parameters
- fields
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFields
EntityFields object to use to build the update query. - connectionToUse
- Type: System.Data.CommonDbConnection
The connection to use for the query - pkFilters
- Type: System.Collections.GenericListIPredicate
Arraylist, with for each entity (from root to leaf) the PK filter for that entity. - additionalUpdateFilter
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
Extra predicate for concurrency purposes. - relationsToWalk
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
list of EntityRelation objects, which will be used to formulate a FROM clause with INNER JOINs.
Return Value
Type:
IActionQueryIActionQuery instance which is ready to be used.
Exceptions Remarks Selfservicing specific
See Also