ObjectGraphUtilsDetermineActionQueuesTEntity Method (TEntity, ListActionQueueElementTEntity, ListActionQueueElementTEntity, Boolean) |
Determines the action queues for the entity 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.11.0.0 (5.11.23.1114)
Syntax public void DetermineActionQueues<TEntity>(
TEntity entityToSave,
ref List<ActionQueueElement<TEntity>> insertQueue,
ref List<ActionQueueElement<TEntity>> updateQueue,
bool refetchAfterAction
)
where TEntity : class, IEntityCore
Public Sub DetermineActionQueues(Of TEntity As {Class, IEntityCore}) (
entityToSave As TEntity,
ByRef insertQueue As List(Of ActionQueueElement(Of TEntity)),
ByRef updateQueue As List(Of ActionQueueElement(Of TEntity)),
refetchAfterAction As Boolean
)
Parameters
- entityToSave
- Type: TEntity
Entity 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
Remarks The insert queue hasn't been sorted based on type. To do that call SortQueueOnType``1(ListActionQueueElementUMP)
See Also