Exemplo n.º 1
0
        public ModuleManageBLL()
        {
            IDataBaseInfoBll bll = DataBaseInfoFactory.GetDataBaseInfoBll(DataBaseStaticConfig.Config.provider);
            DbHelper         db  = bll.SetDbHelperHasDbName(DataBaseStaticConfig.Config);

            _dbSession = DbSessionFactory.GetDbSession <RLFrameWorkEntities>(db.dbConnectionString);
        }
Exemplo n.º 2
0
 public BaseService()
 {
     dbSession = DbSessionFactory.GetDbSession();
     GetCurrentDbSession();
 }