PrepAway - Latest Free Exam Questions & Answers

You need to create a database from your model

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 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?

PrepAway - Latest Free Exam Questions & Answers

A.
Run the edmgen.exe tool in FullGeneration mode.

B.
Run the edmgen.exe tool in FromSSDLGeneration mode.

C.
Use the Update Model Wizard in Visual Studio.

D.
Use the Generate Database Wizard in Visual Studio. Run the resulting script against a Microsoft
SQL Server database.

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.


Leave a Reply