public IMTestProjectUnitOfWork(
     IMTestProjectReadOnlyContext readOnlyContext,
     IMTestProjectWriteOnlyContext writeOnlyContext,
     IContinentRepository continentRepository,
     IMainTableRepository mainTableRepository,
     ITableConfigurationRepository tableConfigurationRepository,
     IAdditionalInformationRepository tableMappingDataRepository
     )
 {
     ReadOnlyContext     = readOnlyContext;
     WriteOnlyContext    = writeOnlyContext;
     Continents          = continentRepository;
     MainTables          = mainTableRepository;;
     TableConfigurations = tableConfigurationRepository;;
     TableMappingDatas   = tableMappingDataRepository;;
 }
Example #2
0
 public MainTableRepository(IMTestProjectReadOnlyContext readOnlyContext, IMTestProjectWriteOnlyContext writeOnlyContext) : base(readOnlyContext, writeOnlyContext)
 {
     ReadOnlyContext  = readOnlyContext;
     WriteOnlyContext = writeOnlyContext;
 }
 public TableConfigurationRepository(IMTestProjectReadOnlyContext readOnlyContext, IMTestProjectWriteOnlyContext writeOnlyContext) : base(readOnlyContext, writeOnlyContext)
 {
     ReadOnlyContext  = readOnlyContext;
     WriteOnlyContext = writeOnlyContext;
 }
 public AdditionalInformationRepository(IMTestProjectReadOnlyContext readOnlyContext, IMTestProjectWriteOnlyContext writeOnlyContext) : base(readOnlyContext, writeOnlyContext)
 {
     ReadOnlyContext  = readOnlyContext;
     WriteOnlyContext = writeOnlyContext;
 }