Build Version: 5.5 (5.5.0) RTM, Build Date: 02-Nov-2018 Project: Adapter project targeting .NET 4.5.2 Database: MS SQL on 2016
When reverse engineering entities from table definitions is there a way to have custom logic run when deriving the name that a relationship/navigator should have in the generated code? We have a few specific naming conventions when generating relationships that today we maintain by hand, mainly because some of them are table-specific and are derived from parts of the column name.
Alternatively, is there any way to load the project file into whatever class you use to model it within the application, run some logic on the generated relationships (potentially updating their names), and then save it again?
Our big goal here is to be able to fully run the code generation process from the CLI (refresh from the database, create entity definitions, generate code, etc) but the way we name our relationships today gets in the way of that. I think we could load the project file in XML and work with it that way, but I'd really like to not do that if its possible
Thanks!