private void UpdateDetailB(IList<EPerVacaProg> col, object[] primKey)
        {
            if (col == null)
              return;

              RHDOMnt.PerVacaProv objDO = new RHDOMnt.PerVacaProv();

              foreach (EPerVacaProg objE in col)
              {
              EPerVacaProv objEProv = new EPerVacaProv();
              objEProv.IdEmpresa = objE.IdEmpresa;
              objEProv.IdPersonal = objE.IdPersonal;
              objEProv.IdPeriVac = objE.IdPeriVac;

              objDO.Update(objEProv);
              }
        }
        private ArrayList BuildParamInterface(EPerVacaProv value)
        {
            ArrayList arrPrm = new ArrayList();

            arrPrm.Add(DataHelper.CreateParameter("@pidEmpresa", SqlDbType.Char, 3, value.IdEmpresa));
            arrPrm.Add(DataHelper.CreateParameter("@pidPersonal", SqlDbType.Char, 7, value.IdPersonal));
            arrPrm.Add(DataHelper.CreateParameter("@pidPeriVac", SqlDbType.Char, 4, value.IdPeriVac));

            return arrPrm;
        }