You need to ensure that the Storage Schema Definition Language (SSDL) of the EDM can be modified without rebuilding the application

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to develop an application
that uses the Entity Framework. You create an Entity Data Model (EDM) named Model. You need to
ensure that the Storage Schema Definition Language (SSDL) of the EDM can be modified without
rebuilding the application. What should you do?

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to develop an application
that uses the Entity Framework. You create an Entity Data Model (EDM) named Model. You need to
ensure that the Storage Schema Definition Language (SSDL) of the EDM can be modified without
rebuilding the application. What should you do?

A.
Set the Metadata Artifact Processing property to Embed in Output Assembly and use the
following connection string.
metadata=res://*/Model.csdl|res://*/Model.ssdl|
res://*/Model.msl;
provider=System.Data.SqlClient;
provider connection string=”& “

B.
Set the Metadata Artifact Processing property to Copy to Output Directory and use the following
connection string.
metadata=res://*/Model.csdl|res://*/Model.ssdl|
res://*/Model.msl;
provider=System.Data.SqlClient;
provider connection string& =”& ”

C.
Set the Metadata Artifact Processing property to Embed in Output Assembly and use the following
connection string.
metadata=.\Model.csdl|.\Model.ssdl|.\Model.msl;
provider=System.Data.SqlClient;
provider connection string=”& “

D.
Set the Metadata Artifact Processing property to Copy to Output Directory and use the following
connection string.
metadata=.\Model.csdl|.\Model.ssdl|.\Model.msl;
provider=System.Data.SqlClient;
provider connection string& =”& “

Explanation:
How to: Copy Model and Mapping Files to the Output Directory (Entity Data Model Tools)
(http://msdn.microsoft.com/en-us/library/cc716709.aspx)



Leave a Reply 0

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