When defining a relationship in entity framework 4 in a 1-to-many relationship using POCO classes why does the relationship have to be defined at the child level. for example say we have an order that has many products. The relationship in the mapping file for the product would look like:-
Relationship(e => e.Order)
.FromProperty(m => m.Product)
.HasConstraint((e, m) => e.Id == m.Id);
In n-hibernate its defined in the mapping file at the parent level (Order in this case). having the relationship defined at the parent offers more flexibility and reuse.
Is there a way to do it at the parent level instead in EF4.