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.
- Can I change this behavior so that the table classes are automatically generated?
- Why aren't the classes for tables generating automatically?