ComplexType elements are not supported in the Entity Designer

  • Thread starter Thread starter Juan Dent
  • Start date Start date
J

Juan Dent

Hi,

I was following an example from "How to: Define a Model with Complex Type",
in the Defining Advanced Data Models section under ADO.NET Entity
Framework\Programming Guide\Entity Framework Tasks\Defining an Entity Data
Model, but apparently this information is outdated because VS2008 complains
when I compile the project saying: "ComplexType elements are not supported in
the Entity Designer".

Why is this? Isn't this very strange that a capability to support complex
types was working when that technical note was written but not in the final
product??

What can I do to circumvent this omission?
 
Juan said:
Hi,

I was following an example from "How to: Define a Model with Complex Type",
in the Defining Advanced Data Models section under ADO.NET Entity
Framework\Programming Guide\Entity Framework Tasks\Defining an Entity Data
Model, but apparently this information is outdated because VS2008 complains
when I compile the project saying: "ComplexType elements are not supported in
the Entity Designer".

Why is this? Isn't this very strange that a capability to support complex
types was working when that technical note was written but not in the final
product??

Apparently they understaffed their designer team to build a designer
which allowed the user to work with the features in the framework.
What can I do to circumvent this omission?

Edit the xml by hand.

FB

--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
 
Thanks Juan and Frans

After tested in my environment, I successfully reproduced this error and
found that the error will not break the build and you can continue to run
the application by ignoring the error message.

This is a EDM designer known issue. It has already been reported at
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?Feedbac
kID=362351. The suggested solution is to change the build error to warning.
The product team is working on that right now.

I believe that the instructions in
http://msdn.microsoft.com/en-us/library/bb738613.aspx is outdated, because
the designer is introduced by Visual Studio 2008 SP1, while this article
was written before that.

I think the final solution should let EDM designer to support complex type,
but I don't know the schedule of the product team. I would suggest you to
tell your feedback at http://connect.microsoft.com/. I believe that they
will put it in the wish list of next release.

Thanks again for your post. Please don't hesitate to ask me if you have any
question. It is my pleasure to be assistance.

Regards,
Hongye Sun ([email protected], remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://support.microsoft.com/select/default.aspx?target=assistance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top