Exemplo n.º 1
0
        public DbRepositoryContext()
        {
            ConnectionRepository = new DbConnectionRepository(new SqlDbConnectionCommandProvider());
            ExpectedResultRepository = new DbExpectedResultRepository(new SqlDbExpectedResultCommandProvider());
            ProjectRepository = new DbProjectRepository(new SqlDbProjectCommandProvider());

            RunHistoryRepository = new DbRunHistoryRepository(new SqlDbRunHistoryCommandProvider());
            TestRepository = new DbTestRepository(new SqlDbTestCommandProvider());
            TestTypeRepository = new DbTestTypeRepository(new SqlDbTestTypeCommandProvider());
            AssertTypeRepository = new DbAssertTypeRepository(new SqlDbAssertTypeCommandProvider());
            ConnectionProviderRepository =
                new DbConnectionProviderRepository(new SqlDbConnectionProviderCommandProvider());
            TestGroupRepository = new DbTestGroupRepository(new SqlDbTestGroupCommandProvider());
            RunHistoryDetailRepository = new DbRunHistoryDetailRepository(new SqlDbRunHistoryDetailCommandProvider());
        }
Exemplo n.º 2
0
        public DbRepositoryContext()
        {
            ConnectionRepository     = new DbConnectionRepository(new SqlDbConnectionCommandProvider());
            ExpectedResultRepository = new DbExpectedResultRepository(new SqlDbExpectedResultCommandProvider());
            ProjectRepository        = new DbProjectRepository(new SqlDbProjectCommandProvider());

            RunHistoryRepository         = new DbRunHistoryRepository(new SqlDbRunHistoryCommandProvider());
            TestRepository               = new DbTestRepository(new SqlDbTestCommandProvider());
            TestTypeRepository           = new DbTestTypeRepository(new SqlDbTestTypeCommandProvider());
            AssertTypeRepository         = new DbAssertTypeRepository(new SqlDbAssertTypeCommandProvider());
            ConnectionProviderRepository =
                new DbConnectionProviderRepository(new SqlDbConnectionProviderCommandProvider());
            TestGroupRepository        = new DbTestGroupRepository(new SqlDbTestGroupCommandProvider());
            RunHistoryDetailRepository = new DbRunHistoryDetailRepository(new SqlDbRunHistoryDetailCommandProvider());
        }