public void Initialize() { var _factory = new AdoNetFactory();//Container.Get<UnitOfWorkFactory>(); _uow = new ADOUnitOfWork(_factory);//Container.Get<IUnitOfWork>(); _repo = Container.Get<ITurmaRepository>();//new TurmaRepositorySql(_factory); _turmaService = new TurmaService(_repo, _uow); }
public void Initialize() { new BaseSQLTest(); _factory = new AdoNetFactory(); _uow = new ADOUnitOfWork(_factory); _repo = new TurmaRepositorySql(_factory); }
public void Initialize() { new BaseSQLTest(); var factory = new AdoNetFactory(); _uow = new ADOUnitOfWork(factory); _repoTurma = new TurmaRepositorySql(factory); _repoAula = new AulaRepositorySql(factory); }
public TurmaRepositorySql(AdoNetFactory factory) : base(factory) { }
public AlunoRepositorySql(AdoNetFactory factory) : base(factory) { }
public PresencaRepositorySql(AdoNetFactory factory) : base(factory) { }
public AulaRepositorySql(AdoNetFactory factory) : base(factory) { }
public ADOUnitOfWork(AdoNetFactory factory) { _factory = factory; }