Esempio n. 1
0
 public BoardRepository(AbstractDBProvider dBProvider, Repository repository)
 {
     this.dbProvider = dBProvider;
     this.repository = repository;
     
     data = dBProvider.GetBoards(repository);
 }
Esempio n. 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);
        }
Esempio n. 3
0
        public HomeWorkRepository(AbstractDBProvider dBProvider, Repository repository)
        {
            this.dbProvider = dBProvider;

            data = dbProvider.GetHomeWorks(repository);
        }
Esempio n. 4
0
        public PersonRepository(AbstractDBProvider dBProvider)
        {
            this.dbProvider = dBProvider;

            data = dBProvider.GetPersons();
        }