i want to valdiate data for classes generated by linq to sql. I was doing exacly what they say in that article: http://weblogs.asp.net/scottgu/archive/2010/01/15/asp-net-mvc-2-model-validation.aspx
And it was ok but only for class with public filds. When I try to do that to class generated by VS(by linq to sql like i said) it simply doesn't work. Ofcorse when i change private fild into public all generated methods scream like hell. So my qestion is how to make it work with private filds of classes.
If this topic double others then sorry but search on this web gives me an error so...
Thankhs for help!;)
View Complete Post