Page 1 of 1

EDMX files

Posted: Thu 30 Apr 2009 16:06
by estern
is there a way to generate an EDMX file from the Entity Developer?

Posted: Tue 05 May 2009 07:24
by AndreyR
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.

Posted: Tue 05 May 2009 10:31
by AndreyR
Sorry, but could you please describe conditions that need the creation of an .edmx file using Devart Entity Developer?

Devarts modeling tool

Posted: Tue 05 May 2009 11:42
by estern
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?

Posted: Wed 06 May 2009 07:45
by AndreyR
The simplest way to proceed is to add new Devart Entity Model and work with it.