EDMX files

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
estern
Posts: 19
Joined: Tue 27 Jan 2009 18:59

EDMX files

Post by estern » Thu 30 Apr 2009 16:06

is there a way to generate an EDMX file from the Entity Developer?

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Tue 05 May 2009 07:24

You can create Devart Entity Model (.edml), rename it to .edmx and then add it to your Visual Studio solution, it will be handled correctly (the code will be generated).
But you will not be able to edit this model in the ADO.NET Entity Data Model Designer, and we do not recommend this approach.

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Tue 05 May 2009 10:31

Sorry, but could you please describe conditions that need the creation of an .edmx file using Devart Entity Developer?

estern
Posts: 19
Joined: Tue 27 Jan 2009 18:59

Devarts modeling tool

Post by estern » Tue 05 May 2009 11:42

We have an existing project built with the "ADO.Net Entity Data model"

When I added the "ADO.Net Entity Data model" to the project VS 2008 included an model.edmx file and a model.designer.vb file

I can import the EDMX file into the DevArts toolset and generate a model.vb

When I drop the model.designer.vb and include the model.vb file the project does not start. I have not spent much time on this it looks to be related to he connection strings in the web.config. The constructors in the devarts generated vb file are slightly different than the Microsoft generated files.

Should we just be using DevArts for new models? I just noticed that I can add a Devarts Entity Model template?

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Wed 06 May 2009 07:45

The simplest way to proceed is to add new Devart Entity Model and work with it.

Post Reply