public void Transaction_Test() { var factory = new AdoNetFactory(); var uow = new ADOUnitOfWork(factory); var turmaRepository = new TurmaRepositorySql(factory); }
public override void Initialize() { base.Initialize(); Factory = new AdoNetFactory(); Uow = new ADOUnitOfWork(Factory); new DatabaseTestInitializer(Uow, Factory); AlunoRepository = new AlunoRepositorySql(Factory); TurmaRepository = new TurmaRepositorySql(Factory); AulaRepository = new AulaRepositorySql(Factory); PresencaRepository = new PresencaRepositorySql(Factory); }