Page 1 of 1

How to generate code from template?

Posted: Sun 26 May 2013 08:51
by MeltdownZA
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

Re: How to generate code?

Posted: Sun 26 May 2013 09:17
by MeltdownZA
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.

Re: How to generate code from template?

Posted: Tue 28 May 2013 11:33
by Shalex
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.

Re: How to generate code from template?

Posted: Thu 25 Jul 2013 10:11
by Shalex
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.

Re: How to generate code from template?

Posted: Thu 08 Aug 2013 15:36
by Shalex
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.