T4 template for Validation in MVC

Posted by GibboK on Stack Overflow See other posts from Stack Overflow or by GibboK
Published on 2012-06-27T21:12:52Z Indexed on 2012/06/27 21:15 UTC
Read the original article Hit count: 203

Filed under:
|

I'm using ASp.Net MVC and EF 4.3.1.

Using POCO t4 template I'm able to create the POCO classes for my model but not validation.

At the moment I'm using Partial Classes with MetaData for adding the annotation (leaving intact the POCO auto generated).

My question: Could you point me out a tutorial, or show me an example of code or a link to a T4 template the also include automatic VALIDATION for my POCO?

THanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about asp.net-mvc-3