locked
context.Table.Include("AnotherTable").OrderBy(at => at.SortingColumn) <- How do I do this? RRS feed

  • Question

  • I have RIA services setup and a nested datagrid that hooks up to a DomainDataSource. Everything is great with one exception. I'm unable to find out how to order/sort the related table. For example:

    Customer - Bob Barker
    Orders - 567,867,466,456

    context.Customers.Include("Order") will get me the data I need, but can I sort the orders table in the Domain Service definition?

    Thursday, October 21, 2010 8:19 PM

Answers