Click or drag to resize

ObjectGraphUtilsDetermineActionQueuesTEntity Method (TEntity, IPredicate, 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.9.0.0 (5.9.0)
Syntax
public void DetermineActionQueues<TEntity>(
	TEntity entityToSave,
	IPredicate updateRestriction,
	ref List<ActionQueueElement<TEntity>> insertQueue,
	ref List<ActionQueueElement<TEntity>> updateQueue,
	bool refetchAfterAction
)
where TEntity : class, IEntityCore

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.
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