示例#1
0
 public OperationRequestsRepository(
     PostgreSQLContextFactory <PbfContext> contextFactory,
     ISqlRepositoryHelper sqlRepositoryHelper)
 {
     _contextFactory      = contextFactory;
     _sqlRepositoryHelper = sqlRepositoryHelper;
 }
示例#2
0
 public LimsRepository(ISqlRepositoryHelper sqlHelper, ICommonDataService dataService, LimsDbContext limsDbContext, IConfiguration configuration)
 {
     this._sqlHelper = sqlHelper;
     _dataService    = dataService;
     _limsDbContext  = limsDbContext;
     _configuration  = configuration;
 }
示例#3
0
 public CommonRepository(CoreDbContext context, ISqlRepositoryHelper repositoryHelper, IQueryableCacheService qcache)
 {
     Context          = context;
     RepositoryHelper = repositoryHelper;
     QueryableCache   = qcache;
 }
示例#4
0
 public SafeDTORepository(CoreDbContext context, ISqlRepositoryHelper repositoryHelper) : base(context, repositoryHelper)
 {
 }
示例#5
0
 public DTORepository(CoreDbContext context, ISqlRepositoryHelper repositoryHelper)
 {
     Context          = context;
     RepositoryHelper = repositoryHelper;
 }
示例#6
0
 public SafeCommonRepository(CoreDbContext context, ISqlRepositoryHelper repositoryHelper, IQueryableCacheService qcache) :
     base(context, repositoryHelper, qcache)
 {
     CurrentRights = context.UserInfo?.Rights;
 }