.CSDL file - no MaxLength available

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
Posts: 8
Joined: Mon 28 Sep 2009 13:16

.CSDL file - no MaxLength available

Post by pcrissman » Mon 28 Sep 2009 13:23

I'm trying to use some samples I found that appear I should be able to query to get the maxlength of string fields from the CSpace container (.csdl) file. The MaxLength facet is always empty in my case. I looked in the .CSDL file, and none of my string properties have a maxlength defined. I do see in the .ssdl file the maxlength. Why is maxlength not available in our .CSDL file? Is this a generation issue with the .csdl file?

I am running version 2.0.21 of the Entity Developer

Pam Crissman

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

Post by AndreyR » Mon 28 Sep 2009 13:34

The MaxLength facet support is available in the latest build of dotConnects.

Post Reply