Пример #1
0
        public void Initialize()
        {
            new BaseSQLTest();

            _factory = new AdoNetFactory();

            _uow = new ADOUnitOfWork(_factory);

            _repo = new TurmaRepositorySql(_factory);
        }
Пример #2
0
        public void Initialize()
        {
            new BaseSQLTest();

            var factory = new AdoNetFactory();

            _uow = new ADOUnitOfWork(factory);

            _repoAluno = new AlunoRepositorySql(factory);

            _repoTurma = new TurmaRepositorySql(factory);
        }