Page 1 of 1

Open edmx - forced to save as edml

Posted: Fri 24 Aug 2012 05:33
by johnwest80
So this could very well be me. Here's my scenario:

I have an edmx file that I've been opening outside of VS and updating. In the past, when I've saved it, it has saved as the same edmx file I opened. Now, however, when I save, it's trying to force me to save as an edml file instead. I have to manually go change the extension each time back to edmx instead of edml. If I do save it as an edml, I get a weird error. * Note I'm not asking for a solution on how to get an edml to work - I'm asking for how to get back to saving it as the same edmx file I opened. Thx. *

Does this sound familiar? I'm not sure what changed on my end.

Re: Open edmx - forced to save as edml

Posted: Mon 27 Aug 2012 11:19
by Shalex
Entity Developer allows only to import *.edmx but the output would be *.edml. Output can not be *.edmx because Entity Developer uses extra tags and attributes, additional features which are not supported by EDM Designer. Devart designer (*.edml) offers a wider range of functionality comparing to the standard designer.

There was a bug with saving *.edml when importing data from *.edmx in the previous versions of Entity Developer. It was fixed in the 4.4.197 version: http://www.devart.com/entitydeveloper/r ... story.html.

Re: Open edmx - forced to save as edml

Posted: Thu 11 Oct 2012 19:11
by johnwest80
This answer doesn't help me. Because you've changed your software and are forcing some new file format, I'm getting this error:

The number of members in the conceptual type 'Model.MyItem' does not match with the number of members on the object side type 'Model.MyItem'. Make sure the number of members are the same.

I can only get around it by forcing a save as edmx.

I need a solution.

Re: Open edmx - forced to save as edml

Posted: Thu 11 Oct 2012 19:14
by johnwest80
And btw, I'm on version 4.7.277, so the version shouldn't have anything to do with it.

Re: Open edmx - forced to save as edml

Posted: Tue 16 Oct 2012 10:24
by Shalex
1. If you get the "The number of members in the conceptual type 'Model.MyItem' does not match..." error when importing *.edmx into Entity Developer (to save as *.edml), please send us a test *.edmx so that we can reproduce the problem in our environment.

2. The following scenario is NOT supported because Entity Developer uses extra tags and attributes, additional features which are not supported by EDM Designer: *.edmx -> modifying the model in Entity Developer -> saving as *.edml -> renaming to *.edmx.

Re: Open edmx - forced to save as edml

Posted: Thu 18 Oct 2012 21:32
by johnwest80
I can send you the actual edmx file. How should I get it to you?

Re: Open edmx - forced to save as edml

Posted: Fri 19 Oct 2012 08:00
by Shalex
Please send it via our contact form: http://www.devart.com/company/contact.html.

Re: Open edmx - forced to save as edml

Posted: Thu 25 Oct 2012 16:26
by johnwest80
I just sent the email. I look forward to hearing back with a solution.