public void add(DBConnection_EF con, ACMD_DETAIL Obj)
 {
     con.ACMD_DETAIL.Add(Obj);
     con.SaveChanges();
 }
 public void Update(DBConnection_EF con, ACMD_DETAIL cmd_detail)
 {
     //bool isDetached = con.Entry(cmd_detal).State == EntityState.Modified;
     //if (isDetached)
     con.SaveChanges();
 }