Beispiel #1
0
 public Provider GetProviderByGID(Guid gid)
 {
     using (var context = new ProductionDBContext())
     {
         return(null);
     }
 }
Beispiel #2
0
 public List <Product> Get()
 {
     using (var context = new ProductionDBContext())
     {
         var a = context.Products
                 .Include(p => p.ProductCategory)
                 .Include(p => p.ProductsProviders)
                 .ToList();
         return(context.Products
                .Include(p => p.ProductCategory)
                .Include(p => p.ProductsProviders)
                .ToList());
     }
 }
Beispiel #3
0
 public void DeleteProvider(Provider provider)
 {
     using (var context = new ProductionDBContext())
     {
     }
 }