nerdexam
Microsoft

70-516 · Question #171

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application. You use the Entity Framework Designer to create an Entity Data Model (EDM). You need to create a…

The correct answer is C. Run the Generate Database command. 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.

Deploying and Troubleshooting Data Access

Question

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

Options

  • AUse a new Self-Tracking Entities template.
  • BDrag entities to Server Explorer.
  • CRun the Generate Database command.
  • DSelect Run Custom Tool from the solution menu.

How the community answered

(57 responses)
  • A
    11% (6)
  • B
    2% (1)
  • C
    81% (46)
  • D
    7% (4)

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.

Topics

#Entity Framework#database generation#EDM#Generate Database

Community Discussion

No community discussion yet for this question.

Full 70-516 Practice