Automapper many to many mapping
问题 Patrick, thanks for advice about correct question! EDIT 1: I have three table for many to many relationship. Like this: GoodEntity: public partial class GoodEntity { public GoodEntity() { this.GoodsAndProviders = new HashSet<GoodAndProviderEntity>(); } public int id { get; set; } public string name { get; set; } public string description { get; set; } public decimal cost { get; set; } public Nullable<decimal> price { get; set; } public virtual ICollection<GoodAndProviderEntity>