Click or drag to resize

UnitOfWork2GetEntityElementsToUpdate Method

Gets the UnitOfWorkElement2s with the entities which are added with AddForSave and which are not new, in a new List. To remove an entity, call RemoveFromUoW(IEntity2)

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public List<UnitOfWorkElement2> GetEntityElementsToUpdate()

Return Value

Type: ListUnitOfWorkElement2
new List with all UnitOfWorkElement2s with the entities which are added using AddForSave and which are not new
Remarks
Use this method to peek into the list of elements added to the UnitOfWork. Don't use this method to retrieve the exact list of entities which have been updated/will be updated by the UnitOfWork, use GetUpdateQueue instead
See Also