ObjectGraphUtilsDetermineActionQueuesTEntity Method (TEntity, IPredicate, ListActionQueueElementTEntity, ListActionQueueElementTEntity) |
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.7.0.0 (5.7.0)
Syntax public void DetermineActionQueues<TEntity>(
TEntity entityToSave,
IPredicate updateRestriction,
ref List<ActionQueueElement<TEntity>> insertQueue,
ref List<ActionQueueElement<TEntity>> updateQueue
)
where TEntity : class, IEntityCore
Public Sub DetermineActionQueues(Of TEntity As {Class, IEntityCore}) (
entityToSave As TEntity,
updateRestriction As IPredicate,
ByRef insertQueue As List(Of ActionQueueElement(Of TEntity)),
ByRef updateQueue As List(Of ActionQueueElement(Of TEntity))
)
Parameters
- entityToSave
- Type: TEntity
Entity to save. - updateRestriction
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
Update restriction to use with entityToSave. - insertQueue
- Type: System.Collections.GenericListActionQueueElementTEntity
Insert queue. - updateQueue
- Type: System.Collections.GenericListActionQueueElementTEntity
Update queue.
Type Parameters
- TEntity
Remarks The insert queue hasn't been sorted based on type. To do that call SortQueueOnType``1(ListActionQueueElementUMP)
See Also