Page 1 of 1

MaxLength missing in the Conceptual Model

Posted: Thu 16 Jul 2009 20:00
by skingaby
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.

Posted: Thu 16 Jul 2009 20:06
by skingaby
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.

Posted: Thu 16 Jul 2009 20:19
by skingaby
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.

Posted: Fri 17 Jul 2009 11:19
by AndreyR
Thank you for the suggestion. This functionality will be available in the next build.

Posted: Fri 17 Jul 2009 15:22
by skingaby
Thank you!