Пример #1
0
 public List <OrderReports_Result> GetOrders(DateTime dt, string admin)
 {
     using (GBHODBEntities db = new GBHODBEntities())
     {
         return((from x in db.OrderReports(admin, dt)
                 select x).OrderBy(x => x.OrderId)
                .ToList());
     }
 }