How to generate code from template?

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
MeltdownZA
Posts: 4
Joined: Sun 26 May 2013 08:48

How to generate code from template?

Post by MeltdownZA » Sun 26 May 2013 08:51

I've created my model in Visual Studio 2012 and I'm happy with all the settings etc, yet I've been through all the documentation and forums and cannot for the life of me figure out how to generate the code for a template.

I've created an MVC template, yet where do I click to generate the actual code for this template?

Thanks
Last edited by MeltdownZA on Sun 26 May 2013 09:26, edited 1 time in total.

MeltdownZA
Posts: 4
Joined: Sun 26 May 2013 08:48

Re: How to generate code?

Post by MeltdownZA » Sun 26 May 2013 09:17

I figured it out, for future reference you need to make sure you set the 'OutputInfo' settings on each templates properties window. Then once that is done, click the 'Save all documents' button in Visual Studio and all the code will be generated for you in the locations you specified.

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

Re: How to generate code from template?

Post by Shalex » Tue 28 May 2013 11:33

We will change a default behaviour (when the "Output" property of the MVC Controller template is not set): the controller will be generated in the folder with the model. We will post here when the corresponding build of Entity Developer is available for download.

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

Re: How to generate code from template?

Post by Shalex » Thu 25 Jul 2013 10:11

The behaviour is changed: now by default MVC Controller template generates files in the model folder, MVC View Advanced template creates files in the Views model subfolder. We will post here when the corresponding build of Entity Developer is available for download.

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

Re: How to generate code from template?

Post by Shalex » Thu 08 Aug 2013 15:36

New build of Entity Developer 5.5.164 is available for download now!
It can be downloaded from http://www.devart.com/entitydeveloper/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=32&t=27694.

Post Reply