示例#1
0
 public TourPlannerAppFactoryImp()
 {
     RouteImagesFolder = ConfigurationManager.AppSettings["RouteImagesFolder"];
     ReportPdfsFolder  = ConfigurationManager.AppSettings["ReportPdfsFolder"];
     tourEntryDAO      = DALFactory.CreateTourEntryDAO();
     logEntryDAO       = DALFactory.CreateLogEntryDAO();
     Log.Info("TourPlannerAppFactoryImp constructor without parameter is called.");
 }
示例#2
0
 public LogEntryFileDAO()
 {
     this.fileAccess   = DALFactory.GetFileAccess();
     this.tourEntryDAO = DALFactory.CreateTourEntryDAO();
 }
示例#3
0
 public LogEntryPostgresDAO()
 {
     this.database     = DALFactory.GetDatabase();
     this.tourEntryDAO = DALFactory.CreateTourEntryDAO();
 }