title: The type initializer for threw an exception in entity framework model?
body: <p>I have 2 projects A and B<br>
  each project has its own database and connect to it using entity framework and each project is working well alone<br>
  My problem is that when I use the project B as a library inside the project A It gives me "The type initializer for (MYCLASS) threw an exception"<br>
  you should know that (MYCLASS): is an Entity inside the project B</p>