Which command should you use?

You create an application by using the Microsoft .NET Framework 3.5 and Microsoft ADO.NET.

The application connects to a database named ContosoDB. The database resides on a server named ContosoSrv.

You generate the following files:

A storage schema definition file named Contoso.ssdl
A conceptual schema definition file named Contoso.csdl
A mapping schema definition file named Contoso.msl

You alter the contents of the Contoso.csdl and Contoso.msl files.
You need to generate the .NET Framework entities from the altered schema definitions.

Which command should you use?

You create an application by using the Microsoft .NET Framework 3.5 and Microsoft ADO.NET.

The application connects to a database named ContosoDB. The database resides on a server named ContosoSrv.

You generate the following files:

A storage schema definition file named Contoso.ssdl
A conceptual schema definition file named Contoso.csdl
A mapping schema definition file named Contoso.msl

You alter the contents of the Contoso.csdl and Contoso.msl files.
You need to generate the .NET Framework entities from the altered schema definitions.

Which command should you use?

A.
Edmgen.exe /mode:EntityClassGeneration /project:Contoso /incsdl:Contoso.csdl

B.
Edmgen.exe /mode:FromSsdlGeneration /project:Contoso /inssdl:Contoso.ssdl /outcsdl:Contoso.csdl

C.
Edmgen.exe /mode:ViewGeneration /project:Contoso /inssdl:Contoso.ssdl /incsdl:Contoso.csdl /inmsl:Contoso.msl /outobjectlayer:Contoso

D.
Edmgen.exe /mode:FullGeneration /project:Contoso /provider:System.Data.SqlClient /connectionstring:"server=ContosoSrv;integrated security=true;database=ContosoDB"



Leave a Reply 0

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