Click or drag to resize

UnitOfWork2AddUpdateEntitiesDirectlyCall Method

Adds an UpdateEntitiesDirectly call to be scheduled during Commit. It is called right after the last entity has been updated but before the pre delete callbacks are called.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public void AddUpdateEntitiesDirectlyCall(
	IEntity2 entityWithNewValues,
	IRelationPredicateBucket filterBucket
)

Parameters

entityWithNewValues
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntity2
Entity object which contains the new values for the entities of the same type and which match the filter in filterBucket. Only fields which are changed are updated.
filterBucket
Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationPredicateBucket
filter information to filter out the entities to update.
Remarks
the method is called on the adapter passed in to Commit.
See Also