Click or drag to resize
CollectionCoreTOnEntityAdding Method
Called at the start of the Add or Insert routine which adds an entity to this collection. Will raise EntityAdding event.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
protected virtual bool OnEntityAdding(
	T entityToAdd
)

Parameters

entityToAdd
Type: T
The entity to add.

Return Value

Type: Boolean
true if the add action can continue (e.g. the event wasn't canceled) otherwise false.
See Also