I am using EF5 in VS2012, database first method.
When I add a new table X to the design surface, the table shows, then I save and compile without error. However, no class X is ever generated (under MyModel.tt in solution explorer).
If I right click MyModel.tt and choose "Run Custom Tool", then the classes are generated.
This behavior is different than what I experienced in EF4 and VS 2010, where the classes are automatically generated.
This is a bug in VS2012. More details here: http://entityframework.codeplex.com/workitem/453
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With