コード例 #1
0
 public void Update(Unit unit)
 {
     context.Entry(unit).State = EntityState.Modified;
     context.SaveChanges();
 }
コード例 #2
0
ファイル: AmcReportRepository.cs プロジェクト: HCMISFE/FE
 public void Update(AmcReport amcReport)
 {
     context.Entry(amcReport).State = EntityState.Modified;
     context.SaveChanges();
 }
コード例 #3
0
 public void Update(Stockout stockout)
 {
     Context.Entry(stockout).State = EntityState.Modified;
     Context.SaveChanges();
 }
コード例 #4
0
ファイル: DosageFormRepository.cs プロジェクト: HCMISFE/FE
 public void Update(DosageForm dosageForm)
 {
     context.Entry(dosageForm).State = EntityState.Modified;
     context.SaveChanges();
 }
コード例 #5
0
ファイル: ItemsRepository.cs プロジェクト: HCMISFE/FE
 public void Update(Item item)
 {
     context.Entry(item).State = EntityState.Modified;
     context.SaveChanges();
 }
コード例 #6
0
 public void Update(Product product)
 {
     context.Entry(product).State = EntityState.Modified;
     context.SaveChanges();
 }