Last post Mar 27, 2015 08:02 PM by helpneed
Mar 25, 2015 06:51 PM|helpneed|LINK
I am trying to learn EntityFramework ModelFirst approach when I right click on generated "EmployeeModel.edmx.sql" I do not see "Executee sql". why is that?
Mar 25, 2015 10:28 PM|CSJ|LINK
You have to manually run the EmployeeModel.edmx.sql file on SQL server.
Mar 26, 2015 04:05 AM|Zhi Lv - MSFT|LINK
According to your description, I have tested on my side, it seems everything worked well, after right-click on the design surface and select
Generate Database from Model…, Entity Framework will calculate a script to recreate a schema based on the updated model.
Here are some tutorials about Entity FrameWork ModelFirst, please refer to them.
Mar 27, 2015 09:54 AM|helpneed|LINK
when I right click I do not see" generate database from model"
Mar 27, 2015 06:04 PM|itpreneur|LINK
you need to right click anywhere in the designer except the model that you are working on. There's a generate database from model. you should be able to see it after you have created your entity/properties.
Mar 27, 2015 08:02 PM|helpneed|LINK
I can see that on ".edmx" file but not on ".edmx.sql" file