Microsoft
70-516 · Question #180
70-516 Question #180: Real Exam Question with Answer & Explanation
The correct answer is D. Use the Generate Database Wizard in Visual Studio.. To update the database, right-click the Entity Framework designer surface and choose Generate Database From Model. The Generate Database Wizard produces a SQL script file that you can edit and execute.
Question
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application uses the ADO.NET Entity Framework to model entities. You need to create a database from your model. What should you do?
Options
- ARun the edmgen.exe tool in FullGeneration mode.
- BRun the edmgen.exe tool in FromSSDLGeneration mode.
- CUse the Update Model Wizard in Visual Studio.
- DUse the Generate Database Wizard in Visual Studio.
Explanation
To update the database, right-click the Entity Framework designer surface and choose Generate Database From Model. The Generate Database Wizard produces a SQL script file that you can edit and execute.
Community Discussion
No community discussion yet for this question.