refactor: Einführung des IUnique<TId>-Interfaces für Entitäten und DTOs

- Aktualisiertes IBasicCRUDService-Interface, um Konsistenz bei einzigartigen Identifikatoren mit IUnique<TId> durchzusetzen
- DIExtensions-Methoden angepasst, um IUnique<TId>-Einschränkungen für DTOs und Entitäten einzuschließen
This commit is contained in:
Developer 02
2024-09-13 16:30:52 +02:00
parent b6ac303c96
commit 0bf8979a09
5 changed files with 14 additions and 11 deletions

View File

@@ -16,7 +16,7 @@ namespace DigitalData.Core.Abstractions.Application
/// allowing for a more concise and maintainable codebase when implementing services for such entities.
/// </remarks>
public interface IBasicCRUDService<TDto, TEntity, TId> : ICRUDService<TDto, TDto, TDto, TEntity, TId>
where TDto : class where TEntity : class
where TDto : class, IUnique<TId> where TEntity : class, IUnique<TId>
{
}
}