Пример #1
0
 public CommonRepository(CoreDbContext context, ISqlRepositoryHelper repositoryHelper, IQueryableCacheService qcache)
 {
     Context          = context;
     RepositoryHelper = repositoryHelper;
     QueryableCache   = qcache;
 }
Пример #2
0
 public SafeCommonRepository(CoreDbContext context, ISqlRepositoryHelper repositoryHelper, IQueryableCacheService qcache) :
     base(context, repositoryHelper, qcache)
 {
     CurrentRights = context.UserInfo?.Rights;
 }