Automapper - How to map from source child object to destination
问题 I am trying to map from a child object of source to destination(as parent object). Source Model: public class SourceBaseResponse<T> where T : new() { public string Type { get; set; } public string Id { get; set; } public T Attributes { get; set; } } For my example I am using T to be of type SourceAssignment public class SourceAssignment { public string Id { get; set; } public string Email { get; set; } public string EmployeeId { get; set; } public string FirstName { get; set; } public string