Exemple #1
0
 public void DeleteSupply(Supply supply)
 {
     context.Supplys.Remove(supply);
     context.SaveChanges();
 }
Exemple #2
0
 public void UpdateSupply(Supply supply)
 {
     context.Supplys.Update(supply);
     context.SaveChanges();
 }
Exemple #3
0
 public void InsertSupply(Supply supply)
 {
     context.AttachRange();
     context.Supplys.Add(supply);
     context.SaveChanges();
 }