Esempio n. 1
0
 public Persister()
 {
     _context = ContextProvider.GetContext();
     _dbSet   = _context.Set <TE>();
 }
Esempio n. 2
0
 public Persister(IHouseKeeperContext context)
 {
     _context = context;
     _dbSet   = _context.Set <TE>();
 }
Esempio n. 3
0
 public void BaseTestInitialize()
 {
     _context = ContextProvider.GetContext();
     _client  = new TestServerApiClient();
     ContextProvider.ResetDatabase();
 }
Esempio n. 4
0
 public GetCategoryByIdQueryHandler(IHouseKeeperContext context)
 {
     _context = context;
 }
Esempio n. 5
0
 public UpdateCategoryCommandHandler(IHouseKeeperContext context)
 {
     _context = context;
 }
Esempio n. 6
0
 public GetTransactionByIdQueryHandler(IHouseKeeperContext context)
 {
     _context = context;
 }
Esempio n. 7
0
 public CreateTransactionCommandHandler(IHouseKeeperContext context)
 {
     _context = context;
 }
Esempio n. 8
0
 public GetCategoriesQueryHandler(IHouseKeeperContext context, ILogger <IQueryHandler <GetCategoriesQuery, List <Data.Entity.Category> > > logger)
 {
     _context = context;
     _logger  = logger;
 }
Esempio n. 9
0
 public GetTransactionsQueryHandler(IHouseKeeperContext context, ILogger <IQueryHandler <GetTransactionsQuery, List <Data.Entity.Transaction> > > logger)
 {
     _context = context;
     _logger  = logger;
 }