AutoMapper: Collection to Single string Property
问题 I have a scenario in which I have to do following mapping public class Company : BaseEntity { public string Name { get; set; } public virtual ICollection<CompanyService> CompanyServices { get; set; } } public class Service : BaseEntity { public string Name { get; set; } public virtual ICollection<CompanyService> CompanyServices { get; set; } } public class CompanyService : BaseEntity { public long CompanyID { get; set; } public virtual Company Company { get; set; } public long ServiceID { get