public List <Empresa_ComboBoxResult> Empresa_ComboBox() { using (dmIntranetDataContext dci = new dmIntranetDataContext(ConfigurationManager.ConnectionStrings["genesys"].ConnectionString)) { try { return(dci.Empresa_ComboBox().ToList()); } catch (ChangeConflictException ex) { dci.Excepcion_Registrar(ex.Message, ex.TargetSite.Name); dci.SubmitChanges(); throw new ArgumentException("Error al obtener la lista de empresas."); } } }