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
}