MaxLength missing in the Conceptual Model

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
skingaby
Posts: 32
Joined: Thu 14 May 2009 16:17

MaxLength missing in the Conceptual Model

Post by skingaby » Thu 16 Jul 2009 20:00

Do you have any plans to parse the MaxLength from the Store model into the MaxLength property on the Conceptual Model? This seems to be a missing piece in the rendered XML.

I have other 3rd party tools that read the Conceptual Model and pick up the MaxLength property to define column validators, but they are not getting any lengths because these are not emitted in your tool.

skingaby
Posts: 32
Joined: Thu 14 May 2009 16:17

Post by skingaby » Thu 16 Jul 2009 20:06

I just tested something else. I had manually set the MaxLength on one of the fields in the Conceptual Model:

Code: Select all

  
	
  
  
  
  
After opening this in your Entity Developer, the MaxLength property was erased.

It would be nice if Entity Developer set this property for me, but it is a much more serious bug that it erases it after I manually set it.

skingaby
Posts: 32
Joined: Thu 14 May 2009 16:17

Post by skingaby » Thu 16 Jul 2009 20:19

Further testing has me confused. It looks like ED is preserving the manual change, but I will re-iterate that ED should populate the MaxLength in the Conceptual Model. Thanks.

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

Post by AndreyR » Fri 17 Jul 2009 11:19

Thank you for the suggestion. This functionality will be available in the next build.

skingaby
Posts: 32
Joined: Thu 14 May 2009 16:17

Post by skingaby » Fri 17 Jul 2009 15:22

Thank you!

Post Reply