DD.WellWorkover.Cloud/AsbCloudInfrastructure/Repository
2023-02-17 09:33:00 +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 Remove ClusterController, ClusterService. 2022-12-23 14:35:23 +05:00
FileRepository.cs #8101318 Изменение работы кэша 2022-12-01 15:56:11 +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
ProcessMapRepository.cs Add PredicateBuilder to build complex predicate expressions 2023-02-03 16:00:45 +05:00
QueryContainer.cs #8101318 Изменение работы кэша 2022-12-01 15:56:11 +05:00
readme.md Crud services moved to Repository directory 2022-06-16 12:33:05 +05:00
ScheduleRepository.cs #7987467 Исправления 2022-12-07 15:04:36 +05:00
SetpointsRequestRepository.cs #7987467 Исправления 2022-12-07 15:04:36 +05:00
TelemetryWirelineRunOutRepository.cs IWellService refactor. 2023-02-15 17:57:32 +05:00
UserRepository.cs 8543610 Add exceptions for badRequest 2023-02-15 14:00:46 +05:00
UserRoleRepository.cs Merge branch 'feature/7759269' of http://46.146.209.148:8080/DDrilling/AsbCloudServer into feature/7759269 2022-11-29 12:11:38 +05:00
UserSettingsRepository.cs IUserSettingsRepository replace insert and update to upsert. 2022-08-15 13:19:44 +05:00
WellCompositeRepository.cs #8103063 nit prettify 2023-02-02 14:30:27 +05:00
WellFinalDocumentsRepository.cs nit WellFinalDocumentsService rename method 2023-01-30 17:44:05 +05:00
WellOperationRepository.cs WellOperationRepository.GetCategories(..) add arg, to filter categories/ 2023-02-15 18:02:36 +05:00
WitsRecordRepository.cs WirsRepository save fix 2022-11-21 16:10:32 +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>();