예제 #1
0
 public void add(DBConnection_EF con, ACMD_OHTC_DETAIL Obj)
 {
     con.ACMD_OHTC_DETAIL.Add(Obj);
     con.SaveChanges();
 }
예제 #2
0
 public void Update(DBConnection_EF con, ACMD_OHTC_DETAIL cmd_detail)
 {
     //bool isDetached = con.Entry(cmd_detal).State == EntityState.Modified;
     //if (isDetached)
     con.SaveChanges();
 }