Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public List <Empresa_ListarDashboardResult> Empresa_ListarDashboard() { ////using (dmIntranetDataContext dci = new dmIntranetDataContext(ConfigurationManager.ConnectionStrings["genesys"].ConnectionString)) using (dmIntranetDataContext dci = new dmIntranetDataContext(GS.configuration.Init.GetValue(Constant.sistema, Constant.key, "genesys"))) { try { return(dci.Empresa_ListarDashboard().ToList()); } catch (ChangeConflictException ex) { dci.Excepcion_Registrar(ex.Message, ex.TargetSite.Name); dci.SubmitChanges(); throw ex; } } }