You need to ensure that the model and mapping files are not deployed as application resources

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

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

A.
Modify the connection string in the application’s .config file to refer to the absolute physical path
to the .edmx file.

B.
Modify the connection string in the application’s .config file to refer to the relative path to the
.edmx file.

C.
Set the value of the .edmx file’s Metadata Artifact Processing property to Copy to Output
Directory.

D.
Set the value of the .edmx files Build Action property to Copy to Output.



Leave a Reply 0

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