Beispiel #1
0
        static void Main(string[] args)
        {
            my_logger.Info("******************** System startup");

            m_config = new storeProceduresAppConfig();


            Console.WriteLine($"-- Hello App {m_config.AppName}");

            DAO dAO = new DAO();

            Console.WriteLine(dAO.Run_sp_AvgSalaryForRoleId(1));
            Console.ReadLine();


            my_logger.Info("******************** System shutdown");
        }
Beispiel #2
0
 public DAO()
 {
     m_config = new storeProceduresAppConfig();
     conn     = new NpgsqlConnection(m_config.ConnectionString);
 }