Reputation: 1
I have something like this:
Order order = new Order();
Item item = new Item();
order.Items.Add(item);
order.Save();
How can I do this with Subsonic? The method that refere to a related table is IQueryable.
Upvotes: 0
Views: 137
Reputation: 606
If you are programming something like a shopping cart you can abstract that out into it's own class that can handle marrying the objects together. I personally think it works better than modify the generated objects.
Upvotes: 0
Reputation: 1129
You have three options:
The advantage with Subsonic is that it is flexible, however you occasionally have to fill some of the gaps yourself.
Upvotes: 1