0

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<OrderLine> OrderLines { get; set; }
...
}

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

Is it possible to achieve this in any way?

Jason Plank
  • 2,336
  • 5
  • 31
  • 40
lasseeskildsen
  • 599
  • 6
  • 15

1 Answers1

2

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

Jerod Venema
  • 44,124
  • 5
  • 66
  • 109