nerdexam
Microsoft

70-516 · Question #27

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 ensure that the model…

The correct answer is C. Set the value of the .edmx file's Metadata Artifact Processing property to Copy to Output. See the full explanation below for the reasoning.

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 ensure that the model and mapping files are not deployed as application resources. What should you do?

Options

  • AModify the connection string in the application's .config file to refer to the absolute physical
  • BModify the connection string in the application's .config file to refer to the relative path to
  • CSet the value of the .edmx file's Metadata Artifact Processing property to Copy to Output
  • DSet the value of the .edmx file's Build Action property to Copy to Output.

How the community answered

(41 responses)
  • A
    7% (3)
  • B
    10% (4)
  • C
    78% (32)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full 70-516 Practice