Click or drag to resize

DynamicQueryEngineBase.CreateSingleTargetUpdateDQ Method (IEntityFieldCore[],IFieldPersistenceInfo[], IActionQuery, IPredicate)

Creates a new Update Query object which is ready to use. Only 'changed' EntityFieldCore fields 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
protected virtual void CreateSingleTargetUpdateDQ(
	IEntityFieldCore[] fields,
	IFieldPersistenceInfo[] fieldsPersistenceInfo,
	IActionQuery query,
	IPredicate updateFilter
)

Parameters

fields
Type:SD.LLBLGen.Pro.ORMSupportClasses.IEntityFieldCore[]
EntityFieldCore array to use to build the update query.
fieldsPersistenceInfo
Type:SD.LLBLGen.Pro.ORMSupportClasses.IFieldPersistenceInfo[]
Array of IFieldPersistenceInfo objects to use to build the update query
query
Type: SD.LLBLGen.Pro.ORMSupportClasses.IActionQuery
The query object to fill.
updateFilter
Type: SD.LLBLGen.Pro.ORMSupportClasses.IPredicate
A complete IPredicate implementing object which contains the filter for the rows to update
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen fields is null or fieldsPersistenceInfo is null
ArgumentExceptionWhen fields contains no EntityFieldCore instances or fieldsPersistenceInfo is empty.
See Also