Beispiel #1
0
 public GujiService(ZhongyiServiceManager serviceManager)
 {
     this._coreManager    = serviceManager.ZhongyiCoreManager;
     this._dataManager    = serviceManager.ZhongyiDataManager;
     this._mapper         = this._coreManager.CoreMapper;
     this._serviceManager = serviceManager;
 }
Beispiel #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);
 }