Esempio n. 1
0
 /// <summary>
 /// 获取OrganizeDal
 /// </summary>
 public static IOrganizeDal GetOrganizeDal()
 {
     return(QssCacheHelper.GetCallContextCache <OrganizeDal>("OrganizeDal"));
 }
Esempio n. 2
0
 /// <summary>
 /// 获取QuestionDal
 /// </summary>
 public static IQuestionDal GetQuestionDal()
 {
     return(QssCacheHelper.GetCallContextCache <QuestionDal>("QuestionDal"));
 }
Esempio n. 3
0
 /// <summary>
 /// 获取LetterDal
 /// </summary>
 /// <returns></returns>
 public static ILetterDal GetLetterDal()
 {
     return(QssCacheHelper.GetCallContextCache <LetterDal>("LetterDal"));
 }
Esempio n. 4
0
 /// <summary>
 /// 获取LogDal
 /// </summary>
 public static ILogDal GetLogDal()
 {
     return(QssCacheHelper.GetCallContextCache <LogDal>("LogDal"));
 }
Esempio n. 5
0
 /// <summary>
 /// 获取WebConfigBll
 /// </summary>
 /// <returns></returns>
 public static IWebConfigService GetWebConfigService()
 {
     return(QssCacheHelper.GetCallContextCache <WebConfigService>("WebConfigService"));
 }
Esempio n. 6
0
 /// <summary>
 /// 获取QssDbSession
 /// </summary>
 /// <returns></returns>
 public static IQssDbSession GetCurrentDbSession()
 {
     return(QssCacheHelper.GetCallContextCache <QssDbSession>("QssDbSession"));
 }
Esempio n. 7
0
 /// <summary>
 /// 获取UserBll
 /// </summary>
 /// <returns></returns>
 public static IUserService GetUserService()
 {
     return(QssCacheHelper.GetCallContextCache <UserService>("UserService"));
 }
Esempio n. 8
0
 /// <summary>
 /// 获取UserDal
 /// </summary>
 public static IUserDal GetUserDal()
 {
     return(QssCacheHelper.GetCallContextCache <UserDal>("UserDal"));
 }
Esempio n. 9
0
 /// <summary>
 /// 获取RoleBll
 /// </summary>
 /// <returns></returns>
 public static IRoleService GetRoleService()
 {
     return(QssCacheHelper.GetCallContextCache <RoleService>("RoleService"));
 }
Esempio n. 10
0
 /// <summary>
 /// 获取SysNewsBll
 /// </summary>
 /// <returns></returns>
 public static ISysNewsService GetSysNewsService()
 {
     return(QssCacheHelper.GetCallContextCache <SysNewsService>("SysNewsService"));
 }
Esempio n. 11
0
 /// <summary>
 /// 获取QuestionBll
 /// </summary>
 /// <returns></returns>
 public static IQuestionService GetQuestionService()
 {
     return(QssCacheHelper.GetCallContextCache <QuestionService>("QuestionService"));
 }
Esempio n. 12
0
 /// <summary>
 /// 获取OrganizeBll
 /// </summary>
 /// <returns></returns>
 public static IOrganizeService GetOrganizeService()
 {
     return(QssCacheHelper.GetCallContextCache <OrganizeService>("OrganizeService"));
 }
Esempio n. 13
0
 /// <summary>
 /// 获取LogBll
 /// </summary>
 /// <returns></returns>
 public static ILogService GetLogService()
 {
     return(QssCacheHelper.GetCallContextCache <LogService>("LogService"));
 }
Esempio n. 14
0
 /// <summary>
 /// 获取OrganizeDal
 /// </summary>
 public static IRoleDal GetRoleDal()
 {
     return(QssCacheHelper.GetCallContextCache <RoleDal>("RoleDal"));
 }
Esempio n. 15
0
 /// <summary>
 /// 获取当前上下文
 /// 保证一次请求共用一个上下文
 /// </summary>
 /// <returns></returns>
 public static QssDbContext GetCurrentDbContext()
 {
     // 保证同一线程共用一个数据库上下文
     return(QssCacheHelper.GetCallContextCache <QssDbContext>("QssDbContext"));
 }
Esempio n. 16
0
 /// <summary>
 /// 获取SysNewsDal
 /// </summary>
 public static ISysNewsDal GetSysNewsDal()
 {
     return(QssCacheHelper.GetCallContextCache <SysNewsDal>("SysNewsDal"));
 }
Esempio n. 17
0
 /// <summary>
 /// 获取WebConfigDal
 /// </summary>
 public static IWebConfigDal GetWebConfigDal()
 {
     return(QssCacheHelper.GetCallContextCache <WebConfigDal>("WebConfigDal"));
 }
Esempio n. 18
0
 /// <summary>
 /// 获取VoteDal
 /// </summary>
 public static IVoteDal GetVoteDal()
 {
     return(QssCacheHelper.GetCallContextCache <VoteDal>("VoteDal"));
 }
Esempio n. 19
0
 /// <summary>
 /// 获取VoteOptionBll
 /// </summary>
 /// <returns></returns>
 public static IVoteOptionService GetVoteOptionService()
 {
     return(QssCacheHelper.GetCallContextCache <VoteOptionService>("VoteOptionService"));
 }