Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error in AutoMapper
Message
 
 
General information
Forum:
ASP.NET
Category:
Object Oriented Programming
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01605838
Message ID:
01605928
Views:
54
>I've never used AutoMapper but you seem to be mapping from a small object to a larger one with additional properties - do you have it the wrong way around ?
>Or do you have some rule in the map which tells it how to populate ItemType ?

In order to resolve that problem I had to add ItemType to the model as well. I don't know why all other properties were successfully ignored in run-time and this one caused troubles.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform