Exemplo n.º 1
0
 public static List <Order> returnOrders()
 {
     using (humbleEntities context = new humbleEntities())
     {
         return(context.Orders.ToList());
     }
 }
Exemplo n.º 2
0
 public static List <Product> returnProducts()
 {
     using (humbleEntities context = new humbleEntities())
     {
         return(context.Products.ToList());
     }
 }
Exemplo n.º 3
0
 public static List <Category> returnCategories()
 {
     using (humbleEntities context = new humbleEntities())
     {
         return(context.Categories.ToList());
     }
 }