Entity Framework 6 Create model from existing table

.net c# entity-framework entity-framework-6

Accepted Answer

ZZZ_tmp
4
6/2/2015 1:13:08 PM

Popular Answer

Select "Update Model from Database" from the context menu when you right-click on a blank region of the design surface and open the Entity Data Model (edmx) file (edit: or build one if you don't already have one).

If prompted, specify the appropriate connection string. Next, select the "Add" tab, drill down to the database tables you wish to add, and check the boxes next to each one. You're done when you click Finish.



Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow