Where is the MaxLength Attribute?

Oct 15, 2007 at 10:23 AM
in the latest Source Code checkings, I can't find the maxLength Attribute in the Definitions Namespace. Has it moved or been replaced with something?
Oct 15, 2007 at 10:55 AM
Yes, it renamed as "LengthAttribute", and add Min to it.
Basiclly, we can just replace MaxLength to Length.
And we can define range to lengh now:

[Length(1, 20)]
public string Name;
For basic migration suggestion, please visit Migration.