You need to create a database creation script for the EDM

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to develop an application.
You use the Entity Framework Designer to create an Entity Data Model (EDM). You need to create a
database creation script for the EDM. What should you do?

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to develop an application.
You use the Entity Framework Designer to create an Entity Data Model (EDM). You need to create a
database creation script for the EDM. What should you do?

A.
Use a new Self-Tracking Entities template.

B.
Drag entities to Server Explorer.

C.
Run the Generate Database command.

D.
Select Run Custom Tool from the solution menu.

Explanation:
You can generate the database from the conceptual model: Right-click the Entity Framework
designer surface and then choose Generate Database From Model.
The script has been created and saved to a file, but it has not been executed.
Model First
(http://blogs.msdn.com/b/efdesign/archive/2008/09/10/model-first.aspx)



Leave a Reply 0

Your email address will not be published. Required fields are marked *