示例#1
0
 //Update
 public void Update(ReasonInbound reasonInbound)
 {
     db.Entry(reasonInbound).State = EntityState.Modified;
     Save();
 }
示例#2
0
 //Insert
 public void Insert(ReasonInbound reasonInbound)
 {
     db.ReasonInbounds.Add(reasonInbound);
     Save();
 }