Click or drag to resize

ApplicationUtilsSwitchOffEventRaisingForBatchTElement Method

Switches off the event raising for all elements in the batch. This is done to prevent events being raised from these elements during a process for example deleting all elements: if an element in the batch is affected by the removal of another element also in the batch, it shouldn't raise any events.

Namespace:  SD.LLBLGen.Pro.ApplicationCore
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public static void SwitchOffEventRaisingForBatch<TElement>(
	List<TElement> elements
)

Parameters

elements
Type: System.Collections.GenericListTElement
The elements.

Type Parameters

TElement
The type of the element.
See Also