Entity Framework many-to-many self-reference
Ok, so because a lot of people answered this ;), I searched a little more and I found the solution for my case. The entity looks like: public class User { public int ID { get; set; } public string UserName { get; set; } public virtual ICollection<User> Friends { get; set; } } The … Read more