Reputation: 23
Is there any package, software or tool which does the following:
Upvotes: 2
Views: 4023
Reputation: 45243
Yes, there is a feature in Visual Studio which allows you to create a Code First model from an existing Database.
Here is the doc: http://msdn.microsoft.com/en-us/data/jj200620
Under the heading "Reverse Engineer Model", see the notes about using the "Reverse Engineer Code First" feature.
Upvotes: 5
Reputation: 7017
You can do it with Visual Studio using Entity Framework Power Tools
Take a look at step-by-step tutorial here
Upvotes: 0