Beispiel #1
0
 public BoardRepository(AbstractDBProvider dBProvider, Repository repository)
 {
     this.dbProvider = dBProvider;
     this.repository = repository;
     
     data = dBProvider.GetBoards(repository);
 }
Beispiel #2
0
        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);
        }
Beispiel #4
0
        public PersonRepository(AbstractDBProvider dBProvider)
        {
            this.dbProvider = dBProvider;

            data = dBProvider.GetPersons();
        }