Ejemplo n.º 1
0
 public CommonRepository(CoreDbContext context, ISqlRepositoryHelper repositoryHelper, IQueryableCacheService qcache)
 {
     Context          = context;
     RepositoryHelper = repositoryHelper;
     QueryableCache   = qcache;
 }
Ejemplo n.º 2
0
 public SafeCommonRepository(CoreDbContext context, ISqlRepositoryHelper repositoryHelper, IQueryableCacheService qcache) :
     base(context, repositoryHelper, qcache)
 {
     CurrentRights = context.UserInfo?.Rights;
 }