public BoardRepository(AbstractDBProvider dBProvider, Repository repository) { this.dbProvider = dBProvider; this.repository = repository; data = dBProvider.GetBoards(repository); }
public Repository(TrelloAnalog myProgram, AbstractDBProvider dbProvider) { this.myProgram = myProgram; this.dBProvider = dbProvider; Persons = new PersonRepository(dBProvider); Boards = new BoardRepository(dBProvider, this); HomeWorks = new HomeWorkRepository(dBProvider, this); }
public HomeWorkRepository(AbstractDBProvider dBProvider, Repository repository) { this.dbProvider = dBProvider; data = dbProvider.GetHomeWorks(repository); }
public PersonRepository(AbstractDBProvider dBProvider) { this.dbProvider = dBProvider; data = dBProvider.GetPersons(); }