Refactor domain layer to follow Clean Architecture
Updated the domain layer to align with Clean Architecture principles: - Removed Entity Framework dependencies from the project. - Updated AGENTS.md to document the new architecture. - Introduced repository interfaces for data access abstraction. - Added a generic IRepository interface for CRUD operations. - Implemented entity-specific repositories for Profile, ProfileSqlJob, and ProfileHistory. - Ensured the domain layer is infrastructure-independent with pure POCOs. - Updated project structure and documentation for clarity.
This commit is contained in:
12
ECMJobRunner.Domain/Interfaces/ICfgProfileRepository.cs
Normal file
12
ECMJobRunner.Domain/Interfaces/ICfgProfileRepository.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using ECMJobRunner.Domain.Entities;
|
||||
|
||||
namespace ECMJobRunner.Domain.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Repository interface for CfgProfile entity
|
||||
/// </summary>
|
||||
public interface ICfgProfileRepository : IRepository<CfgProfile>
|
||||
{
|
||||
// Add custom CfgProfile-specific methods here if needed
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user