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