示例#1
0
        private bool OpenTheDatabase()
        {
            if (m_GCFDPlannerDatabaseLibrary == null)
            {
                m_GCFDPlannerDatabaseLibrary = new GCFDPlanner_MSSQLLib();
            }

            return(true);
        }
示例#2
0
        public static bool ReconnectDB(string strConnnectString)
        {
            if (m_GCFDPlannerDatabaseLibrary == null)
            {
                m_GCFDPlannerDatabaseLibrary = new GCFDPlanner_MSSQLLib();
            }

            m_GCFDPlannerDatabaseLibrary.dbOpenConnection(strConnnectString);

            return(true);
        }