KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a bunch of XSD.exe-generated data contract classes which for all optional elements have a pair of C# properties like int Amount {get; set;} bool isAmountSpecified {get; set;} On the other side of mapping arena I have a nullable int like int? Amount {get; set;} Ideally I'd like for AutoMapper to be able to recognize such patterns and know how to map things in both directions without me having to specify a mapping for each individual property. Is this possible?
Tags (comma-separated)
Save Edits
Cancel