Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

How to generate an Entity Data Model
xomega
#1 Posted : Wednesday, August 1, 2012 3:59:20 PM(UTC)
xomega



To generate an Entity Data Model from your Xomega object model you can perform the following steps.
  1. Open the Properties tab of the Entity Data Model generator in the Business Layer folder.
  2. Set the Output Path for the location of the generated edmx file.
  3. If you want the generator to automatically add a connection string for your entity model to your application or web configuration file, then you need to specify the path to this file in the Config File parameter.
  4. If you want the generator to automatically add the generated entity model file to one of your projects, then you need to specify the path to the project file in the Add To Project parameter.
  5. Run the generator and add the generated edmx file to your project as necessary.
  6. Right-click on the edmx file in the project and select the Run Custom Tool menu. This should generate the corresponding designer file with classes that can be used in your business logic layer.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.