コード例 #1
0
 public void UpdateInv(PartsInventory partsInv)
 {
     context.PartsInventory.Update(partsInv);
     context.SaveChanges();
 }
コード例 #2
0
 public void DeleteInv(PartsInventory partsInv)
 {
     context.PartsInventory.Remove(partsInv);
     context.SaveChanges();
 }
コード例 #3
0
 public void AddInv(PartsInventory partsInv)
 {
     context.PartsInventory.Add(partsInv);
     context.SaveChanges();
 }