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.0.0.0 (5.0.0)
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