ObjectGraphUtilsDetermineActionQueuesTEntity, TCollection Method (TCollection, ListActionQueueElementTEntity, ListActionQueueElementTEntity, Boolean) |
Determines the action queues for the entity collection passed in. The action queues contain the entities to process in the right order.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax public void DetermineActionQueues<TEntity, TCollection>(
TCollection entityCollectionToSave,
ref List<ActionQueueElement<TEntity>> insertQueue,
ref List<ActionQueueElement<TEntity>> updateQueue,
bool refetchAfterAction
)
where TEntity : class, IEntityCore
where TCollection : class, IEntityCollectionCore
Public Sub DetermineActionQueues(Of TEntity As {Class, IEntityCore}, TCollection As {Class, IEntityCollectionCore}) (
entityCollectionToSave As TCollection,
ByRef insertQueue As List(Of ActionQueueElement(Of TEntity)),
ByRef updateQueue As List(Of ActionQueueElement(Of TEntity)),
refetchAfterAction As Boolean
)
Parameters
- entityCollectionToSave
- Type: TCollection
Entity collection to save. - insertQueue
- Type: System.Collections.GenericListActionQueueElementTEntity
Insert queue. - updateQueue
- Type: System.Collections.GenericListActionQueueElementTEntity
Update queue. - refetchAfterAction
- Type: SystemBoolean
flag to set in the new actionobjects if the entity to save has to be refetched after the action
Type Parameters
- TEntity
- TCollection
See Also