Exemple #1
0
 private PlantService()
 {
     _daoManager = ServiceConfig.GetInstance().DaoManager;
     _plantInfo  = _daoManager.GetDao(typeof(IPlantDao)) as IPlantDao;
 }
Exemple #2
0
 private PlantService()
 {
     _daoManager = ServiceConfig.GetInstance().DaoManager;
     _plantInfo = _daoManager.GetDao(typeof(IPlantDao)) as IPlantDao;
 }
 public SimplePlantService(IConnectionCreater connectionCreater)
 {
     plantDao = new SimplePlantDao(connectionCreater);
 }