LLBLGen Pro 5.0.5 26 July 2016
LLBLGen Pro framework
.NET 4.5.2
C#
SD.Presets.Adapter.General
SQL Server
I need help getting started on customizing templates. I need to do the following:
1) Add my own attribute to entity fields that represent FKs to other entities (i.e. IsFKIdAttribute)
2) Add my own attribute to entity fields that are navigators to other entities based on whether the parent entity has Cascade on Delete set or not (i.e. IsCascadeDeleteAttribute)
I've been looking through template and lpt files to try to figure this out and cannot seem to find which templates/lpt that I need to modify.
Also, I can't find the "Template Studio IDE" tool mentioned in the forum. I assume one uses the built-in editor in the designer tool now, right?
Also, I can't find any documentation on the API of code generation classes. How is one supposed to write generator code without a reference document? For example, I went into the Element Search tool and selected "Entity" as the element type and then see that the code displayed was "return p.EntityModel.Vertices" which I then wanted to experiment with to figure out how to access the Fields of an entity but, without an API doc, I don't know what the property name for entity fields is.