Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

How to: Manually Define the Model and Mapping Files

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

This topic shows how to manually create the AdventureWorks Sales Model model and mapping files. If you manually generate the model and mapping files, you still must configure your Visual Studio project to use the Entity Framework. For more information, see How to: Manually Configure an Entity Framework Project.

Bb399785.note(en-us,VS.110).gifNote:
If you use the Entity Data Model Wizard in a Visual Studio project, it automatically generates an .edmx file and configures the project to use the Entity Framework. For more information, see How to: Use the Entity Data Model Wizard.

To create the store schema definition language (SSDL) file

  • Add a file called AdventureWorks.ssdl to your project directory and paste in the following content:

To create the conceptual schema definition language (CSDL) file

  • Add a file called AdventureWorks.csdl to your project directory and paste in the following content:

To create the mapping specification language (MSL) file

  • Add a file called AdventureWorks.msl to your project directory and paste in the following content:

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.