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.4.0.0 (5.4.0)
Syntax public void AddUpdateEntitiesDirectlyCall(
IEntity2 entityWithNewValues,
IRelationPredicateBucket filterBucket
)
Public Sub AddUpdateEntitiesDirectlyCall (
entityWithNewValues As IEntity2,
filterBucket As IRelationPredicateBucket
)
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