public LogRepository(AdvContext context)
 {
     _context   = context;
     _dbSetLogs = _context.Logs;
 }
Beispiel #2
0
 public LogService(AdvContext advContext, ILogRepository logRepository)
 {
     _context       = advContext;
     _logRepository = logRepository;
 }
Beispiel #3
0
 public WorkItemRepository(AdvContext context)
 {
     _context = context;
 }
        public IterationRepository(AdvContext context)
        {
            _context = context;

        }
Beispiel #5
0
 public Repository(AdvContext context)
 {
     _context = context;
     dbSet    = _context?.Set <T>();
 }
Beispiel #6
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            AdvContext.Init();
        }