Steps:
1. In VS2012 Update 1, create a new website (any type).
2. Add a new Entity Data Model to it (Empty Model). As soon as you do this, Model.Context.tt and Model.tt are generated
3. Add couple of entities, associations, and save the diagram.
Expected: The code for new entities generated. If you follow the same steps with a Console application, at this step classes <entityname>.cs are generated
Actual: Nothing changes, all the files remain the same.
Work-around: Right click on the tt files and click on "Run Custom tool", this generates the classes for entities in Model.cs. This behavior is still different than Console app where a separate class file is created for each entity.
This is not a very hi-pri issue as we have work-around.
Comments: This is a duplicate of https://entityframework.codeplex.com/workitem/1095. It was fixed in #31691be in the designer repo.
1. In VS2012 Update 1, create a new website (any type).
2. Add a new Entity Data Model to it (Empty Model). As soon as you do this, Model.Context.tt and Model.tt are generated
3. Add couple of entities, associations, and save the diagram.
Expected: The code for new entities generated. If you follow the same steps with a Console application, at this step classes <entityname>.cs are generated
Actual: Nothing changes, all the files remain the same.
Work-around: Right click on the tt files and click on "Run Custom tool", this generates the classes for entities in Model.cs. This behavior is still different than Console app where a separate class file is created for each entity.
This is not a very hi-pri issue as we have work-around.
Comments: This is a duplicate of https://entityframework.codeplex.com/workitem/1095. It was fixed in #31691be in the designer repo.