Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
[Fork] [Fork] AutoMapper Enum mapping failed with reversemap by Some Display Name
mapper.ConfigurationProvider.AssertConfigurationIsValid();

-- Create a domain model --
{
  "Id": 1,
  "Parent": {
    "Id": 2,
    "TypeId": 100
  },
  "Attempt": 3
}

-- Mapping from domain model to dbo --
{
  "ChildId": 1,
  "Parent": {
    "ParentId": 2,
    "TypeId": 100
  },
  "RetryNumber": 3
}

-- Mapping from dbo back to domain model --
{
  "Id": 1,
  "Parent": {
    "Id": 2,
    "TypeId": 100
  },
  "Attempt": 3
}
Cached Result
Last Run: 12:11:15 am
Compile: 0.035s
Execute: 0.33s
Memory: 27.72Mb
CPU: 0.365s