public UnitOfWork() { _context = new PumpStationContext(); _CottagerDAO = new CottagerDAO(_context); _GardenDAO = new GardenDAO(_context); _MonthDAO = new MonthDAO(_context); _StatementDAO = new StatementDAO(_context); _TariffDAO = new TariffDAO(_context); }
public UnitOfWork() { _context = new PumpStationContext(); _CottagerDAO = new CottagerDAO(_context); _GardenDAO = new GardenDAO(_context); _MonthDAO = new MonthDAO(_context); _StatementDAO = new StatementDAO(_context); _TariffDAO = new TariffDAO(_context); }
public TariffDAO(PumpStationContext context) : base(context) { _context = context; }
public GardenDAO(PumpStationContext context) : base(context) { _context = context; }
public AbstractDAO(PumpStationContext context) { _context = context; }
public StatementDAO(PumpStationContext context) : base(context) { _context = context; }
public MonthDAO(PumpStationContext context) : base(context) { _context = context; }
public CottagerDAO(PumpStationContext context) : base(context) { _context = context; }