Commit Graph

23 Commits

Author SHA1 Message Date
3e007ccfeb 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.
2026-07-09 13:33:39 +02:00
ce47653831 Refactor Profile entity and update property constraints
Renamed `Profile` to `CfgProfile` across the codebase for clarity and consistency. Updated property constraints in `CfgProfile.cs`, `ProfileHistory.cs`, and `ProfileSqlJob.cs` to include maximum length validations. Changed navigation properties in `CfgProfile.cs` to use `IEnumerable` and made them nullable. Updated `ForeignKey` attributes in `ProfileHistory.cs` and `ProfileSqlJob.cs` to reference `CfgProfile`. Improved property descriptions for better documentation.
2026-07-09 13:23:46 +02:00
be8e58df84 Add ECMJobRunner.Domain entities and documentation
Introduced the `ECMJobRunner.Domain` project to support both
.NET Framework 4.8 and .NET 8.0. Added `Profile`,
`ProfileSqlJob`, and `ProfileHistory` entities to map to the
database schema, including relationships and audit fields.

Updated `ECMJobRunner.Domain.csproj` to enable multi-targeting
and added dependencies for Entity Framework 6.5.1 and EF Core
8.0.11. Enabled nullable reference types and set the language
version to `latest`.

Added comprehensive documentation in `AGENTS.md` detailing the
project structure, entities, database schema, and build
instructions.
2026-07-09 12:45:09 +02:00
26dc58d82e Add Application and Infrastructure projects to solution
Two new projects, `ECMJobRunner.Application` and
`ECMJobRunner.Infrastructure`, were added to the solution file
(`ECM.JobRunner.sln`). Build configurations for these projects
were also added.

`ECMJobRunner.Application.csproj` targets both .NET Framework 4.8
and .NET 8.0, with properties such as `LangVersion`, `Nullable`,
and `PackageId` defined.

`ECMJobRunner.Infrastructure.csproj` also targets .NET Framework
4.8 and .NET 8.0. It includes conditional dependencies:
- For `net480`, it references `EntityFramework` 6.5.1.
- For `net8.0`, it references `Microsoft.EntityFrameworkCore`
  and related packages (version 8.0.11).
2026-07-09 11:48:10 +02:00
19c415da01 Add ECMJobRunner.Domain project to solution
A new project, `ECMJobRunner.Domain`, has been added to the solution file (`ECM.JobRunner.sln`). The project targets both .NET Framework 4.8 (`net480`) and .NET 8.0 (`net8.0`) and includes metadata for NuGet packaging, such as `PackageId`, `Authors`, and `RepositoryUrl`.

Build configurations for `Debug|Any CPU` and `Release|Any CPU` have been added to the solution configuration. The project file (`ECMJobRunner.Domain.csproj`) also specifies the generation of XML documentation files.
2026-07-09 10:52:57 +02:00
Jonathan Jenne
0b98902a7f 09-01-2023 2023-01-17 08:43:08 +01:00
Jonathan Jenne
7e7eee7299 23-12-2022 2022-12-23 13:27:30 +01:00
Jonathan Jenne
e3f271ac33 21-12-2022 2022-12-21 16:09:49 +01:00
Jonathan Jenne
6bca1f53f4 20-12-2022 2022-12-20 16:47:36 +01:00
Jonathan Jenne
1e925242bc 20-12-2022 2022-12-20 15:29:29 +01:00
Jonathan Jenne
3e2c4a9ab0 Fix URI Prefix error 2022-12-20 12:04:40 +01:00
Jonathan Jenne
343f47ca29 merge historyitem and statusitem 2022-12-20 12:00:15 +01:00
Jonathan Jenne
835467f0d7 remove history item 2022-12-20 11:57:31 +01:00
Jonathan Jenne
b1e95bc942 20-12-2022 2022-12-20 11:49:43 +01:00
Jonathan Jenne
45f8dd2aad 16-12-2022 2022-12-16 15:59:26 +01:00
Jonathan Jenne
63edd9e542 15-12-2022 ~ 2 2022-12-15 15:59:38 +01:00
Jonathan Jenne
e4c5658c13 15-12-2022 2022-12-15 11:53:59 +01:00
Jonathan Jenne
8d6d81f488 09-12-2022 2022-12-09 17:29:08 +01:00
Jonathan Jenne
0a25b0925c 08-12-2022 2022-12-08 16:43:22 +01:00
Jonathan Jenne
7b7147eeee 07-12-2022 2022-12-07 16:45:31 +01:00
Jonathan Jenne
248be23804 06-12-2022 2022-12-06 14:08:20 +01:00
Jonathan Jenne
c867e4e3a6 Projektdateien hinzufügen. 2022-12-01 16:37:39 +01:00
Jonathan Jenne
622c632b65 .gitattributes und .gitignore hinzufügen. 2022-12-01 16:37:35 +01:00