Click or drag to resize
DesignerEventControllerOnEntityBeforeAdd Method
Called when the EntityBeforeAdd event is raised from code.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.Extensibility
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
public static bool OnEntityBeforeAdd(
	EntityDefinition entityToAdd
)

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