Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AutoMapper throws an error - how to figure out?
Message
 
 
À
14/05/2016 03:57:37
Information générale
Forum:
ASP.NET
Catégorie:
Produits tierce partie
Versions des environnements
Environment:
C# 5.0
OS:
Windows 10
Database:
MS SQL Server
Divers
Thread ID:
01636216
Message ID:
01636381
Vues:
61
>Repeat: Can you post a simple set of source and destination classes (with parent classes). Showing your mapping code without the relevant classes doesn't help much.
>
>BTW, why are you using the .AddGlobalIgnore()'s and the ' IgnoreAllNonExisting()' extension ?
>And what is IgnoreAllNonExistingSource() for ?
>

That one is not really used, may be I should just remove it. I found it on StackOverflow and just grabbed.

The reason I am using the IgnoreAllNonExisting is otherwise I have lots of errors reported by asserting the configurations are valid.

Also, I posted the classes in my original message to you but then removed as they were rather long. If you receive the email notifications, you may be received them. Let me know if you still want me to post the classes?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform