コード例 #1
0
ファイル: ReasonInboundDb.cs プロジェクト: tatthepm/SCGLKPI
 //Update
 public void Update(ReasonInbound reasonInbound)
 {
     db.Entry(reasonInbound).State = EntityState.Modified;
     Save();
 }
コード例 #2
0
ファイル: ReasonInboundDb.cs プロジェクト: tatthepm/SCGLKPI
 //Insert
 public void Insert(ReasonInbound reasonInbound)
 {
     db.ReasonInbounds.Add(reasonInbound);
     Save();
 }