DD.WellWorkover.Cloud/AsbCloudInfrastructure/Repository
2023-04-17 15:51:22 +05:00
..
CacheBase.cs CacheBase makes cache for TEntity only. Converter moved to CrudCacheRepositoryBase 2022-12-05 09:38:23 +05:00
CrudCacheRepositoryBase.cs CacheBase makes cache for TEntity only. Converter moved to CrudCacheRepositoryBase 2022-12-05 09:38:23 +05:00
CrudRepositoryBase.cs #7987467 token 2022-12-07 15:23:10 +05:00
CrudWellRelatedCacheRepositoryBase.cs Fix CrudWellRelated*Repository.. Get* method returns nonNullable values. 2023-02-15 18:00:48 +05:00
CrudWellRelatedRepositoryBase.cs Fix CrudWellRelated*Repository.. Get* method returns nonNullable values. 2023-02-15 18:00:48 +05:00
DepositRepository.cs Enable nullable on DetectedOperation DrillingProgramPart FileCategory FileInfo FileMark 2023-02-17 17:36:25 +05:00
FileRepository.cs Enable nullable on DetectedOperation DrillingProgramPart FileCategory FileInfo FileMark 2023-02-17 17:36:25 +05:00
FileStorageRepository.cs #6385536 refactoring 2022-10-17 14:42:47 +05:00
LimitingParameterRepository.cs LimitingParameterDataDto fix. DateTimeOffset -> DateTime 2023-01-16 10:29:52 +05:00
PlannedTrajectoryRepository.cs #8636739 Визуализация траектории 3D 2023-02-13 09:10:48 +05:00
ProcessMapRepository.cs Rename processMaps to processMapPlan, processMapReport, processMapReportMaker. 2023-04-03 14:59:59 +05:00
QueryContainer.cs #nullable enable 2023-04-13 11:15:45 +05:00
readme.md Crud services moved to Repository directory 2022-06-16 12:33:05 +05:00
ScheduleRepository.cs nit deleting an outdated tasks 2023-03-27 09:40:51 +05:00
SetpointsRequestRepository.cs #nullable enable 2023-04-13 11:15:45 +05:00
TelemetryWirelineRunOutRepository.cs Replace TelemetryService.GetOrDefaultIdTelemetryByIdWell() by GetOrDefaultTelemetryByIdWell() 2023-03-07 09:47:30 +05:00
UserRepository.cs Enable nullable on user, userRole 2023-02-20 12:18:45 +05:00
UserRoleRepository.cs remove EfCacheExtensions, replace by IMemoryCache 2023-02-21 18:01:03 +05:00
UserSettingsRepository.cs IUserSettingsRepository replace insert and update to upsert. 2022-08-15 13:19:44 +05:00
WellCompositeRepository.cs Rename processMaps to processMapPlan, processMapReport, processMapReportMaker. 2023-04-03 14:59:59 +05:00
WellFinalDocumentsRepository.cs ArgumentInvalidException 2023-02-27 11:29:06 +05:00
WellOperationRepository.cs hotfix WellOperationRepository.GetGroupOperationsStatAsync() 2023-04-17 12:33:54 +05:00
WitsRecordRepository.cs #nullable enable (устранение warnings) 2023-04-14 15:23:43 +05:00

Repository

Repository - CRUD сервис для сущности в проекте. Не содержит бизнес логику.

Вся логика такого сервиса - преобразование данных полученых из БД в Data Transfer Object (DTO) и обратно. Преобразования осуществляются методами Convert с базовым маппингом:

    protected virtual TDto Convert(TEntity src) => src.Adapt<TDto>();
    protected virtual TEntity Convert(TDto src) => src.Adapt<TEntity>();