How do I determine at run time the max length that a varchar() field can contain?
Right now I get a nice overflow exception from my property in the EntityBase at this point.
public virtual System.String AAA
{
get { return (System.String)GetValue((int)AAAFieldIndex.AAA, true); }
set { SetValue((int)AAAFieldIndex.AAA, value, true); }
}
of course I'd rather just check the input first.