Пример #1
0
        public List <Personal_ListarResult> Personal_Listar(string codEmpresa, string texto)
        {
            //dmIntranetDataContext dci = new dmIntranetDataContext(ConfigurationManager.ConnectionStrings["genesys"].ConnectionString);
            dmIntranetDataContext dci = new dmIntranetDataContext(GS.configuration.Init.GetValue(Constant.sistema, Constant.key, "genesys"));

            try
            {
                return
                    (dci.Personal_Listar(codEmpresa, texto).ToList());
            }
            catch (Exception ex)
            {
                throw ex;
            };
        }