LLBLGen v5.5 FieldIndex generator

Posts   
 
    
Posts: 77
Joined: 05-May-2005
# Posted on: 29-Aug-2019 23:02:01   

I noticed that the entity FieldIndex enum is being generated differently. In v4.2 it was generated by the constantsEnums.template which put all the FieldIndexes for all entities in the same file as the EntityType. In v5.5 they are generated in each entity's <table>Entity.cs file. Can you tell me which template is generating those now? I have looked and cannot find it.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 30-Aug-2019 08:51:26   

Ideed, this is a v5.4 breaking change:

docs wrote:

All entity fieldindex enums are now generated in the entity class file, so for instance the CustomerFieldIndex enum is now generated into the CustomerEntity class file

The template file where the enum is created and then inserted in the entity template is: LLBLGen Pro Installation Folder\Templates\SharedTemplates\Net3.5\C#\entitySupportCodeInclude

David Elizondo | LLBLGen Support Team