示例#1
0
    // private readonly TransactionMapper _transactionMapper;

    public MyDataQueriesRepository(IHolefeederContext context, AccountMapper accountMapper
                                   // CategoryMapper categoryMapper, CashflowMapper cashflowMapper, TransactionMapper transactionMapper
                                   )
    {
        _context       = context;
        _accountMapper = accountMapper;
        // _categoryMapper = categoryMapper;
        // _cashflowMapper = cashflowMapper;
        // _transactionMapper = transactionMapper;
    }
 public CategoryRepository(IHolefeederContext context, CategoryMapper categoryMapper)
 {
     _context        = context;
     _categoryMapper = categoryMapper;
 }
 public TransactionQueriesRepository(IHolefeederContext context, TransactionMapper transactionMapper)
 {
     _context           = context;
     _transactionMapper = transactionMapper;
 }
 public UpcomingQueriesRepository(IHolefeederContext context)
 {
     _context = context;
 }
 public AccountQueriesRepository(IHolefeederContext context)
 {
     _context = context;
 }
 public CashflowRepository(IHolefeederContext context, CashflowMapper cashflowMapper)
 {
     _context        = context;
     _cashflowMapper = cashflowMapper;
 }
 public AccountRepository(IHolefeederContext context, AccountMapper accountMapper)
 {
     _context       = context;
     _accountMapper = accountMapper;
 }