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.8.0.0 (5.8.21.0111)
Syntaxprotected virtual bool OnEntityAdding(
	T entityToAdd
)
Protected Overridable Function OnEntityAdding ( 
	entityToAdd As T
) As Boolean
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