Name & prefix of Generated Files

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
rpgii
Posts: 2
Joined: Tue 21 Mar 2017 11:37

Name & prefix of Generated Files

Post by rpgii » Tue 21 Mar 2017 11:43

Hi

Using Entity Developer - when I generate classes from the Model | Generate Code menu option - the file names have a prefix of EntitiesModel - e.g. if my database table is Customer the class Customer is stored in a file called EntitiesModel.Customer.cs

Is there a way to not add the EntitiesModel prefix so the file is called just Customer.cs

Thanks

Shalex
Site Admin
Posts: 8248
Joined: Thu 14 Aug 2008 12:44

Re: Name & prefix of Generated Files

Post by Shalex » Tue 21 Mar 2017 17:28

Please open your *.edml model and navigate to Model Explorer > Templates, select your current template, press F4 (Properties) and set Model Name As Files Prefix to False. Save the model and regenerate the code.

Does this help?

rpgii
Posts: 2
Joined: Tue 21 Mar 2017 11:37

Re: Name & prefix of Generated Files

Post by rpgii » Tue 28 Mar 2017 08:06

Yes that did help thanks

Post Reply