public BaseDataAccess(IGepService gepservice)
 {
     gepService     = gepservice;
     logger         = gepService.GetLogger();
     internalLogger = (ILogger)logger.GetInternalLogger();
     UserContext    = gepservice.GetUserContext();
 }
示例#2
0
        protected BaseSqlDataAccess(IGepService gepservice) : base(gepservice)
        {
            string constring = UserContext.GetConfig(PartnerConfigKey.SQL_CONNECTION);

            // This condition will not be there in real world scenario
            if (!string.IsNullOrEmpty(constring))
            {
                sqlHelper = new ReliableSqlDatabase(constring, internalLogger);
            }
        }
 public SafetyStockRepo(IGepService gepservice) : base(gepservice)
 {
 }
 public SearchIndexController(IGepService gepservice, IIndexService bomSearchService) : base(gepservice)
 {
     _bomSearchService = bomSearchService;
 }
 public BaseService(IGepService gepservice)
 {
     gepService  = gepservice;
     logger      = gepService.GetLogger();
     userContext = gepService.GetUserContext();
 }
 public ItemRepo(IGepService gepService) : base(gepService)
 {
 }
示例#7
0
 public BaseController(IGepService gepservice)
 {
     gepService  = gepservice;
     userContext = gepService.GetUserContext();
     logger      = gepService.GetLogger();
 }
 public TestController(IGepService gepService) : base(gepService)
 {
 }
示例#9
0
 public IndexDataAccess(IGepService gepService, ISearchService searchService) : base(gepService)
 {
     _searchService = searchService;
 }