Click or drag to resize
UnitOfWork2GetEntityElementsToInsert Method
Gets the UnitOfWorkElement2s with the entities which are added with AddForSave and which are 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.0.0.0 (5.0.0)
Syntax
public List<UnitOfWorkElement2> GetEntityElementsToInsert()

Return Value

Type: ListUnitOfWorkElement2
new List with all UnitOfWorkElement2s with the entities which are added using AddForSave and which are 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 inserted/will be inserted by the UnitOfWork, use GetUpdateQueue instead
See Also