Exemple #1
0
 public static C GetC(OrderDetail od)
 {
     return new C { Id = od.Id, OrderId = od.OrderId, OrderDetail = od };
 }
Exemple #2
0
 public static void CallTwice(OrderDetail od)
 {
     var test = GetCustomer(od.Order).Where(o => o.Date.Year == 2000 && o.CustomerId > 10);
     var test2 = GetCustomer(od.Order).Where(o => o.Date.Year == 2000 && o.CustomerId > 10);
 }