Asp.Net MVC 2 and automatic stringlength validation using Linq to SQL

added by glennen
3/8/2010 3:02:35 AM

0 Kicks, 141 Views

This snippet of code gets the max string length for MVC 2 validation model from the database schema automatically using the attributes which Linq to SQL uses.