public void BuildDB(bool _useTGUserDAO) { CannedEmailDAO cannedEmailDAO = new CannedEmailDAO(MongoDB); cannedEmailDAO.BuildTable(); SystemEmailDAO systemEmailDAO = new SystemEmailDAO(MongoDB); systemEmailDAO.BuildTable(); TGEmailDAO emailDAO = new TGEmailDAO(MongoDB); emailDAO.BuildTable(); TGEulaAgreementDAO eulaAgreementDAO = new TGEulaAgreementDAO(MongoDB); eulaAgreementDAO.BuildTable(); TGEulaDAO eulaDAO = new TGEulaDAO(MongoDB); eulaDAO.BuildTable(); TGUserAuthorizationDAO userAuthorizationDAO = new TGUserAuthorizationDAO(MongoDB); userAuthorizationDAO.BuildTable(); if (_useTGUserDAO) { TGUserDAO userDAO = new TGUserDAO(MongoDB); userDAO.BuildTable(); } TGUserEmailValidationDAO userEmailValidationDAO = new TGUserEmailValidationDAO(MongoDB); userEmailValidationDAO.BuildTable(); TGUserPasswordDAO userPasswordDAO = new TGUserPasswordDAO(MongoDB); userPasswordDAO.BuildTable(); TGUserRoleDAO userRoleDAO = new TGUserRoleDAO(MongoDB); userRoleDAO.BuildTable(); WebLogEntryDAO webLogEntryDAO = new WebLogEntryDAO(MongoDB); webLogEntryDAO.BuildTable(); }
public void BuildDB() { HydrantDAO hydrantDAO = new HydrantDAO(MongoDB); hydrantDAO.BuildTable(); HydrantImageDAO hydrantImageDAO = new HydrantImageDAO(MongoDB); hydrantImageDAO.BuildTable(); TagDAO tagDAO = new TagDAO(MongoDB); tagDAO.BuildTable(); UserDAO userDAO = new UserDAO(MongoDB); userDAO.BuildTable(); UserStatsDAO userStatsDAO = new UserStatsDAO(MongoDB); userStatsDAO.BuildTable(); CannedEmailDAO cannedEmailDAO = new CannedEmailDAO(MongoDB); cannedEmailDAO.BuildTable(); SystemEmailDAO systemEmailDAO = new SystemEmailDAO(MongoDB); systemEmailDAO.BuildTable(); TGUserAuthorizationDAO tgUserAuthorizationDAO = new TGUserAuthorizationDAO(MongoDB); tgUserAuthorizationDAO.BuildTable(); TGUserEmailValidationDAO tgUserEmailValidationDAO = new TGUserEmailValidationDAO(MongoDB); tgUserEmailValidationDAO.BuildTable(); TGUserPasswordDAO tgUserPasswordDAO = new TGUserPasswordDAO(MongoDB); tgUserPasswordDAO.BuildTable(); WebLogEntryDAO webLogEntryDAO = new WebLogEntryDAO(MongoDB); webLogEntryDAO.BuildTable(); }