| DesignerEventControllerOnEntityBeforeAdd Method  | 
            Called when the EntityBeforeAdd event is raised from code.
            
 
Namespace: SD.LLBLGen.Pro.ApplicationCore.ExtensibilityAssembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.0)
Syntaxpublic static bool OnEntityBeforeAdd(
	EntityDefinition entityToAdd
)
Public Shared Function OnEntityBeforeAdd ( 
	entityToAdd As EntityDefinition
) As Boolean
Parameters
- entityToAdd
 - Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
The entity to add. 
Return Value
Type: 
Boolean
            true if the plugin(s) all agreed to continue with the action, or false if the action has to be canceled
            
See Also