AnantLabs / codesmith

Automatically exported from code.google.com/p/codesmith
1 stars 0 forks source link

Database field that has text datatype is generating incorrect maxlength validation rule #550

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Create a table that contains a field with datatype text
2.Generate code for the table
3.

What is the expected output? What do you see instead?
It shouldnt generate a maxlength validation rule

What version of the product are you using?

Please provide any additional information below.
ValidationRules.AddRule(AddressOf CommonRules.StringMaxLength, New 
CommonRules.MaxLengthRuleArgs(_notesProperty, 16)) is what currently gets 
generated.

Original issue reported on code.google.com by eslater%...@gtempaccount.com on 9 Feb 2011 at 1:23

GoogleCodeExporter commented 9 years ago

Original comment by bniemyjski on 9 Feb 2011 at 9:09

GoogleCodeExporter commented 9 years ago
Hello,

This should be fixed in the latest nightly build.

Thanks
-Blake Niemyjski

Original comment by bniemyjski on 10 Feb 2011 at 7:43