Beispiel #1
0
 public UnitOfWork(MyWalletContext context)
 {
     _context          = context;
     Values            = new ValuesRepository(_context);
     BankAccounts      = new BankAccountsRepository(_context);
     Incomes           = new IncomesRepository(_context);
     Users             = new UsersRepository(_context);
     Expenses          = new ExpensesRepository(_context);
     ExpenseCategories = new ExpenseCategoriesRepository(_context);
     IncomeCategories  = new IncomeCategoriesRepository(_context);
 }
Beispiel #2
0
 public ValuesRepository(MyWalletContext context) : base(context)
 {
 }
 public ExpenseCategoriesRepository(MyWalletContext context) : base(context)
 {
 }
 public IngresoRepository()
 {
     context = new MyWalletContext();
 }
 public CustomerRepository(MyWalletContext context)
 {
     _context = context;
 }
 public UsersRepository(MyWalletContext context) : base(context)
 {
 }
 public BankAccountsRepository(MyWalletContext context) : base(context)
 {
 }
 public IncomesRepository(MyWalletContext context) : base(context)
 {
 }
Beispiel #9
0
 public AccountRepository(MyWalletContext context)
 {
     _context = context;
 }
Beispiel #10
0
 public Repository(MyWalletContext context)
 {
     _context = context;
     Entities = _context.Set <TEntity>();
 }
Beispiel #11
0
 public GastoRepository()
 {
     context = new MyWalletContext();
 }
Beispiel #12
0
 public FuenteRepository()
 {
     context = new MyWalletContext();
 }
 public ServicioRepository()
 {
     context = new MyWalletContext();
 }