コード例 #1
0
 protected RestRepositoryBase(
     IRestResourceService <TDataModel, TId> restResourceService,
     IDataModelAdapter <TDataModel, TAggregateRoot, TId> adapter)
 {
     _restResourceService = restResourceService;
     _adapter             = adapter;
 }
コード例 #2
0
 public DailyReportRepository(
     IDataModelRepository <DailyReportDataModel, string> dataModelRepository,
     IDataModelAdapter <DailyReportDataModel, DailyReport, string> dataModelAdapter) : base(dataModelRepository, dataModelAdapter)
 {
     _dataModelRepository = dataModelRepository;
     _dataModelAdapter    = dataModelAdapter;
 }
コード例 #3
0
 public IndividualRepository(IIndividualRestResourceService restResourceService, IDataModelAdapter <IndividualDataModel, Individual, long?> adapter) : base(restResourceService, adapter)
 {
     _restResourceService = restResourceService;
     _adapter             = adapter;
 }
コード例 #4
0
 public IndividualRepository(IDataModelRepository <IndividualDataModel> dataModelRepository, IDataModelAdapter <IndividualDataModel, Individual> dataModelAdapter) : base(dataModelRepository, dataModelAdapter)
 {
 }
 public EventRepository(IDataModelRepository <EventDataModel> dataModelRepository, IDataModelAdapter <EventDataModel, Event> dataModelAdapter) : base(dataModelRepository, dataModelAdapter)
 {
 }
コード例 #6
0
 public LearningSessionRepository(IDataModelRepository <LearningSessionDataModel> dataModelRepository, IDataModelAdapter <LearningSessionDataModel, LearningSession> dataModelAdapter) : base(dataModelRepository, dataModelAdapter)
 {
 }
コード例 #7
0
 public FileTagRepository(IDataModelRepository <FileTagDataModel> dataModelRepository, IDataModelAdapter <FileTagDataModel, FileTag> dataModelAdapter) : base(dataModelRepository, dataModelAdapter)
 {
     _dataModelRepository = dataModelRepository;
     _dataModelAdapter    = dataModelAdapter;
 }
コード例 #8
0
 public FactRepository(IDataModelRepository <FactDataModel> dataModelRepository, IDataModelAdapter <FactDataModel, Fact> dataModelAdapter) : base(dataModelRepository, dataModelAdapter)
 {
     _dataModelRepository = dataModelRepository;
     _dataModelAdapter    = dataModelAdapter;
 }