i have not used automapper before, is there a link with a sample of how to map dataset rows to a asp.net mvc 2 viewmodel ?
Asked
Active
Viewed 1,352 times
1 Answers
3
AutoMapper doesn't excel in mapping between non strongly typed dataset rows and view models. Here's what I would suggest you: use an ORM to map between your SQL tables and a model and then AutoMapper to map between the model and the view model. Another advantage is that you would get rid of the datasets as well.

Darin Dimitrov
- 1,023,142
- 271
- 3,287
- 2,928