views:

354

answers:

2

Hi,

I'm using the SimpleRepository in SubSonic 3.0.0.3, and have created the classical example with an order, which contains a collection of order lines:

public class Order { ... public IList OrderLines { get; set; } ... }

However, when saving this one trough the repository (using migrations), the OrderLines property is ignored.

Is it possible to achieve this in any way?

Thanks :-)

+1  A: 

Found the answer here.

lasseeskildsen
+2  A: 

There's a simple option for managing foreign keys, even if you're using the Simple Repo. Check out this post for the details.

jvenema