2

Is there any package, software or tool which does the following:

  • Converts a SQL Server DB to Entity Framework Code First
  • Makes the Domain Classes, DB Context and the connections string or just makes the domain classes of our entities and relations.
1

3 Answers 3

5

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.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks, "Reverse Engineer Model" is very useful.
2

Use the following tools:

Entity Framework Power Tools

Comments

0

You can do it with Visual Studio using Entity Framework Power Tools

Take a look at step-by-step tutorial here

1 Comment

Thank you. that was useful too

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.