Exemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Helix.Glob.IOConn"/> class.
        /// </summary>
        public IOConn()
        {
            using (EnEx ee = new EnEx ("IOConn::IOConn()")) {
                m_resp_doc = null;
                m_db = null;
                m_db_mutex = null;
                m_override_target = "";
                m_has_responded = false;
                m_lr_taskid = "";

            }
        }
Exemplo n.º 2
0
        public OdbcObj GetOdbcConnection(string whichOne)
        {
            using(EnEx ee = new EnEx("TheMain::GetOdbcConnection()")){

                if( m_odbc_conn == null){
                    m_odbc_conn = new OdbcObj();
                    m_odbc_conn.Connect("smc", "smc", "DSN=viazos19;");
                }

                return m_odbc_conn;
            }
        }