Return to Snippet

Revision: 34314
at October 21, 2010 00:47 by housecor


Initial Code
var lateCustomers = from c in ctx.Customers
                where c.IsMoreThan30DaysInArrears
                select new { 
                    Customer = c, 
                    Orders = c.Orders.OrderByDescending(
                                 o => o.OrderDate
                             ) 
                };

Initial URL

                                

Initial Description

                                

Initial Title
Sort Relationships in Entity Framework

Initial Tags

                                

Initial Language
C#