public class CptExtension
{
public int Id { get; set; }
public string Code { get; set; }
public string Name { get; set; }
public bool Active { get; set; }
public DateTime EffectiveDate { get; set; }
public DateTime? RetireDate { get; set; }
public CodeClassification? CodeClassification { get; set; }
public IList<EdsModifier> DisallowedModifiers { get; set; } = new List<EdsModifier>();
public Subcategory? SubCategory { get; set; }
public ContrastSetting? ContrastSetting { get; set; }
public BusinessUsage? BusinessUsage { get; set; }
public FamilyIndicator? FamilyIndicator { get; set; }
public MultiProcCode? MultiProcCode { get; set; }
}
When the test call is made, the nullable enum types all return null. So my subsequent query integrity checks all fail, since the data is corrupted in transit. Now I know this is the fault of the mapping, but it shouldn't be there at all, my expected values should be unaltered as a result of the mock mapping. So, any ideas?
So I have an object like this:
I have setup my mapping with this:
When the test call is made, the nullable enum types all return null. So my subsequent query integrity checks all fail, since the data is corrupted in transit. Now I know this is the fault of the mapping, but it shouldn't be there at all, my expected values should be unaltered as a result of the mock mapping. So, any ideas?