I have the following model
public class Foo
{
public int Id { get; set; }
public IList Bars { get; set; }
}
public class Bar
{
public
I think it can be done like below:
Or maybe:
[ForeignKey("AssignedToBarID")]
public IList<Bar> Bars { get; set; }
NOTE: I have not tested neither of them. These are just suggestions.