Beispiel #1
0
 public AccumulationYearDataToDb()
 {
     FilePath = ConfigurationManager.FileConfiguration.GetString("FileDataToDbPath", @"C:/LocalDb") + "\\AccumulationYear\\";
     accumulationRepository = ServiceFactory.Create <IAccumulationYearRepository>();
     accumulationService    = ServiceFactory.Create <IAccumulationYearService>();
 }
Beispiel #2
0
 private AccumulationYearLocalDataToDbTask(int interval)
     : base("累积量年表补录任务", interval)
 {
     FilePath = ConfigurationManager.FileConfiguration.GetString("FileDataToDbPath", @"C:\LocalDb") + "\\AccumulationYear\\";
     accumulationRepository = ServiceFactory.Create <IAccumulationYearRepository>();
 }
Beispiel #3
0
 public AccumulationYearService()
 {
     accumulationRepository = ServiceFactory.Create <IAccumulationYearRepository>();
 }