Esempio n. 1
0
 public FangjiService(ZhongyiServiceManager serviceManager)
 {
     this._coreManager = serviceManager.ZhongyiCoreManager;
     this._dataManager = serviceManager.ZhongyiDataManager;
     this._mapper = this._coreManager.CoreMapper;
     this._serviceManager = serviceManager;
 }
Esempio n. 2
0
 public ZhongyiDataManager(ZhongyiCoreManager coreManager, string nhibernateConfigPath)
     :base(coreManager, nhibernateConfigPath)
 {
     this.ZhongyiCoreManager = coreManager;
     this.ZhongyaoDataProvider = new DataProvider<Zhongyao, ZhongyaoDataModel>(coreManager);
     this.FangjiDataProvider = new DataProvider<Fangji, FangjiDataModel>(coreManager);
     this.GujiDataProvider = new DataProvider<Guji, GujiDataModel>(coreManager);
 }