常用方法
常用方法
常用方法
常用方法
public Perfil_BuscarResult Perfil_Buscar(int idPerfil) { ////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.Perfil_Buscar(idPerfil).Single()); } catch (Exception ex) { dci.Excepcion_Registrar(ex.Message, ex.TargetSite.Name); throw ex; } } }