You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public Guid ID { get; set; }
public Guid? CompanyID { get; set; }
public CItyWrapper City {get;set;}
public CItyWrapper City1 {get;set;}
Schedule
public Guid ID { get; set; }
public Guid? CompanyID { get; set; }
public Company Company { get; set; }
public CIty Start{get;set;}
public CIty End {get;set;}
When I try to adapt ScheduleWrapper to Schedule, on Schedule an empty Company object will be created instead of null.
I have the following classes:
ScheduleWrapper
Schedule
When I try to adapt ScheduleWrapper to Schedule, on Schedule an empty Company object will be created instead of null.
Other configurations are:
I noticed this behavior also in other places where the explicit mapping is not defined.
Is there a setting to not create empty objects on destination when it not exists on source?
The text was updated successfully, but these errors were encountered: