How to generate code for the class definitions

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 for the class definitions

Post by MeltdownZA » Sun 26 May 2013 09:25

I have been able to generate my code from templates, all good.
Yet the actual class definitions never get generated, and thus my templates are referring to classes that don't exist.
How do I generate the code for my actual class definitions in Visual Studio 2012?

Thanks

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

Re: How to generate code for the class definitions

Post by MeltdownZA » Sun 26 May 2013 09:33

I was under the impression that creating any template would generate your classes too.
It seems you need to create a template, such as an 'EntityObject', then generate that, then the rest of your templates will have the classes to refer to.

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

Re: How to generate code for the class definitions

Post by Shalex » Mon 27 May 2013 14:51

It seems like you are using the "Repository And Unit of Work" template. In this case refer to http://forums.devart.com/viewtopic.php?t=24678#p85646.

Post Reply