title: Multiple Projects in a solution - Entity Framework and ASP.Net MVC 4
body: <p>For a school project I am building an application that has to be splitted in multiple projects.</p>
  
  <p>The projects that will be made are class libraries, a wcf service and a asp.net MVC4 application.</p>
  
  <p>The class libraries will be a state library, a stateless library and a datalogic library.</p>
  
  <p>Ideally entity framework should be in the datalogic library, the generated models should be placed in the state library and the classes in stateless contain static methods to save those models.</p>
  
  <p>However I can't seem to get the models generated by Entity Framework (v5) to another class library (State). Is there some way to do this? Or do I think wrong, should I use another architecture?</p>
  
  <p><strong>This problem is solved:</strong> <a href="https://stackoverflow.com/questions/12375090/entity-framework-5-and-visual-studio-2012-poco-classes-in-different-project">Entity Framework 5 and Visual Studio 2012 POCO Classes in Different Project</a></p>
  
  <p>Advice on architecture is still welcome:</p>
  
  <p>I am willing to change this structure, if mine is proven wrong or less efficient as the one adviced.</p>
  
  <p>(Other information I may need to provide is that the WCF service will pass through the methods of the stateless library and the ASP.Net MVC4 application is using those methods to get the models and some controller functionality)</p>