Пример #1
0
 public FangjiService(ZhongyiServiceManager serviceManager)
 {
     this._coreManager = serviceManager.ZhongyiCoreManager;
     this._dataManager = serviceManager.ZhongyiDataManager;
     this._mapper = this._coreManager.CoreMapper;
     this._serviceManager = serviceManager;
 }
Пример #2
0
 protected override Macrowing.Data.DataManager CreateDataManager(CoreManager coreManager, string nhibernateConfigPath)
 {
     this.ZhongyiDataManager =  new ZhongyiDataManager(coreManager as ZhongyiCoreManager, nhibernateConfigPath);
     return this.ZhongyiDataManager;
 }