views:

247

answers:

1

Hi

Has anyone built an application using asp.net mvc with data annotation for validation and subsonic 3.0 for BOL generation?

I am using IDataErrorInfo in partial class at the moment and would like to move to data annotation but i'm not sure how to do it with subsonic 3.0 has my object generator.

I'm using MVC 1.0

I would like to find a code sample to add data annotation to subsonic 3.0 generated object.

Thanks

+1  A: 

I found the solution using buddy class

adding-dataannontations-to-generated-partial-classes

freddoo