Пример #1
0
        public IList <Product> GetProducts()
        {
            var customerEntities = new MyDataEntities();

            return(customerEntities.Products.ToList());
        }
Пример #2
0
 public static IList<Store> GetStores()
 {
     var customerEntities = new MyDataEntities();
     return customerEntities.Stores.ToList();
 }
Пример #3
0
 public IList<Product> GetProducts()
 {
     var customerEntities = new MyDataEntities();
     return customerEntities.Products.ToList();
 }
Пример #4
0
 public static IList<ReportMemo> GetReportMemos()
 {
     var customerEntities = new MyDataEntities();
     return customerEntities.ReportMemos.ToList();
 }