}{ public string PhoneNumber {get;set;}我正在尝试使用自动映射程序将DomainUser映射到EntityUser。但是我不知道如何从IList<string>映射到IList<Phone>并填充PhoneNumer属性。domain => domain.PhoneNumbers) // This doesn't w
Contact> contacts;public class PersonDto { public List<int> contacts;在AutoMapper中使用下面的映射我使用AutoMapper来获取DTO,这不是问题。我将DTO解析回实体,以更新实体中的字段以进行保存操作,并且我对联系人列表不再感兴趣。Aut