Transfer validation attributes to the viewmodel?

Skip to first unread message

Carl Hörberg

Jan 28, 2010, 5:57:37 AM1/28/10
to AutoMapper-users
I'm annoyed that i have to duplicate all my validation attributes on
both the persistence objects and the viewmodel objects to get both
client and server side validation. Is there any solution to this?

Jimmy Bogard

Jan 28, 2010, 6:50:31 PM1/28/10
to automapper-users
Check out this thread:

You received this message because you are subscribed to the Google Groups "AutoMapper-users" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Martin Aatmaa

Jan 29, 2010, 2:00:10 AM1/29/10
to AutoMapper-users
I'm glad this was brought up.

I asked this on SO a while back:

My next step was to ask AutoMapper :)

Reply all
Reply to author
0 new messages