This event is fired whenever a class (entity) type is fully generated. You can use this event to do some customization to the class after all its properties are added. Should be declared as following:
procedure OnClassGenerated(Args: TClassGeneratedArgs);
begin
end;
Type TClassGeneratedArgs and has the following properties:
Property |
Description |
CodeUnit: TCodeUnit |
The Pascal unit where this class is declared. |
CodeType: TCodeTypeDeclaration |
The type declaration of the class containing the property/field |
DBTable: TGDAOTable |
Metadata for the table in database. |