Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
[Fork] [Fork] [Fork] https://stackoverflow.com/questions/67529579/crash-after-serializing-jobject-with-datacontractserializer-and-xmldictionarywri by dbc_MinLength
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: 5:37:03 pm
Compile: 0.018s
Execute: 0.31s
Memory: 28.25Mb
CPU: 0.328s