Click or drag to resize
UnitOfWorkAddUpdateMultiCall Method (IEntityCollection, IEntity, IPredicate)
Adds a call to collection.UpdateMulti(Entity, filter) to update entities directly in the database using the passed in criteria. The call will be executed inside the transaction used in Commit and will be executed after the last entity has been updated but before the PreEntityUpdate callbacks.

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
public void AddUpdateMultiCall(
	IEntityCollection collection,
	IEntity entityWithNewValues,
	IPredicate filter
)

Parameters

collection
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCollection
Collection object to call UpdateMulti on.
entityWithNewValues
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntity
instance which holds the new values for the matching entities to update. Only changed fields are taken into account
filter
Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
Filter to use.
See Also