public void updateVhEntryParkingAdr(string vh_id, string parkAdrID)
 {
     using (DBConnection_EF con = DBConnection_EF.GetUContext())
     {
         APARKZONEDETAIL parkZoneDetail = parkZoneDetailDao.getByAdrID(con, parkAdrID);
         parkZoneDetail.CAR_ID = vh_id;
         con.Entry(parkZoneDetail).Property(p => p.CAR_ID).IsModified = true;
         parkZoneDetailDao.update(con, parkZoneDetail);
     }
 }
        public void updateVhEntryParkingAdr(string vh_id, APARKZONEDETAIL parkZoneDetail)
        {
            ALINE line = scApp.getEQObjCacheManager().getLine();

            using (DBConnection_EF con = DBConnection_EF.GetUContext())
            {
                updateParkAdrEmpty(vh_id);
                con.APARKZONEDETAIL.Attach(parkZoneDetail);
                parkZoneDetail.CAR_ID = vh_id;
                con.Entry(parkZoneDetail).Property(p => p.CAR_ID).IsModified = true;
                parkZoneDetailDao.update(con, parkZoneDetail);
            }
        }