pistacchio
pistacchio

Reputation: 58863

How to work with dataset's datarelation in linq?

Can someone provide an example of linq querying various nested tables in a dataset? I can't find something like that on the net. Thanks

Upvotes: 1

Views: 659

Answers (1)

Marc Gravell
Marc Gravell

Reputation: 1062610

Wouldn't you just navigate?

from cust in ds.Customers
from order in cust.GetChildRows("CustomersOrders").Cast<Order>()

etc?

Upvotes: 1

Related Questions