示例#1
0
        // Constructor
        public Northwind_DAO(ConfigGeneral cfgGeneral, ConfigDatabase cfgDatabase) :
            base(cfgGeneral, cfgDatabase)
        {
            // This class uses DAO
            m_cfgDatabase.dbTech = DatabaseTechnology.eDB_DAO;

            // Set the main database query
            m_cfgDatabase.querySELECT = HelperGetQuerySELECT();
        }
示例#2
0
        // Constructor
        public Simple_ODBC(ConfigGeneral cfgGeneral, ConfigDatabase cfgDatabase) :
            base(cfgGeneral, cfgDatabase)
        {
            // This class uses ODBC
            m_cfgDatabase.dbTech = DatabaseTechnology.eDB_ODBC;

            // Set the main database query
            m_cfgDatabase.queryType   = QueryType.eQueryStd2;
            m_cfgDatabase.querySELECT = HelperGetQuerySELECT();
        }
示例#3
0
 // Constructor
 public Northwind_ODBC(ConfigGeneral cfgGeneral, ConfigDatabase cfgDatabase) :
     base(cfgGeneral, cfgDatabase)
 {
     // This class uses ODBC
     m_cfgDatabase.dbTech = DatabaseTechnology.eDB_ODBC;
 }