Success in (Re)Generating Entities!

Posts   
 
    
gregsohl
User
Posts: 19
Joined: 20-Mar-2017
# Posted on: 19-Sep-2018 22:06:28   

After 10 years of developers manually updating and optimizing generated entities and collections for a database, I've successfully brought the application, database and LLBLGen templates back into sync, so once again, I can have C# code for my DB at the press of F7!!

All it took was:

  • 52 commits on application
  • 112 commits on database code
  • 18 commits on the templates for entityBase, entityCollection and entityUsingEntityBase
  • 3 customizations to the code generator / TDL template processor (I've shared one already - I'll share the other two soon) By getting the templates right, I was able to duplicate all the old manual optimizations, hiding navigators or full relations as needed. I guess the dev that did them originally didn't know about IsOppositeRelationPresent.

Thanks to those on the forums who answered questions along the way.

Next - upgrade LLBLGen! Finally time to get off 2.6!

Greg

Walaa avatar
Walaa
Support Team
Posts: 14946
Joined: 21-Aug-2005
# Posted on: 20-Sep-2018 05:43:37   

Well done, for sorting these out. Looking forward to your feedback of the upgrade process.