diff --git a/WorkFlow.Infrastructure/Repositories/ConfigRepository.cs b/WorkFlow.Infrastructure/Repositories/ConfigRepository.cs new file mode 100644 index 0000000..19107ff --- /dev/null +++ b/WorkFlow.Infrastructure/Repositories/ConfigRepository.cs @@ -0,0 +1,11 @@ +using DigitalData.Core.Abstractions.Infrastructure; +using DigitalData.Core.Infrastructure; +using WorkFlow.Domain.Entities; +using WorkFlow.Infrastructure.Contracts; + +namespace WorkFlow.Infrastructure.Repositories +{ + public class ConfigRepository(WFDBContext dbContext) : CRUDRepository(dbContext, dbContext.Configs), IConfigRepository, ICRUDRepository + { + } +} \ No newline at end of file diff --git a/WorkFlow.Infrastructure/Repositories/ProfControlsTfRepository.cs b/WorkFlow.Infrastructure/Repositories/ProfControlsTfRepository.cs new file mode 100644 index 0000000..c7ed316 --- /dev/null +++ b/WorkFlow.Infrastructure/Repositories/ProfControlsTfRepository.cs @@ -0,0 +1,11 @@ +using DigitalData.Core.Abstractions.Infrastructure; +using DigitalData.Core.Infrastructure; +using WorkFlow.Domain.Entities; +using WorkFlow.Infrastructure.Contracts; + +namespace WorkFlow.Infrastructure.Repositories +{ + public class ProfControlsTfRepository(WFDBContext dbContext) : CRUDRepository(dbContext, dbContext.ProfControlsTfs), IProfControlsTfRepository, ICRUDRepository + { + } +} \ No newline at end of file diff --git a/WorkFlow.Infrastructure/Repositories/ProfileObjStateRepository.cs b/WorkFlow.Infrastructure/Repositories/ProfileObjStateRepository.cs new file mode 100644 index 0000000..639ddf3 --- /dev/null +++ b/WorkFlow.Infrastructure/Repositories/ProfileObjStateRepository.cs @@ -0,0 +1,11 @@ +using DigitalData.Core.Abstractions.Infrastructure; +using DigitalData.Core.Infrastructure; +using WorkFlow.Domain.Entities; +using WorkFlow.Infrastructure.Contracts; + +namespace WorkFlow.Infrastructure.Repositories +{ + public class ProfileObjStateRepository(WFDBContext dbContext) : CRUDRepository(dbContext, dbContext.ProfileObjStates), IProfileObjStateRepository, ICRUDRepository + { + } +} \ No newline at end of file diff --git a/WorkFlow.Infrastructure/Repositories/ProfileRepository.cs b/WorkFlow.Infrastructure/Repositories/ProfileRepository.cs new file mode 100644 index 0000000..23e5601 --- /dev/null +++ b/WorkFlow.Infrastructure/Repositories/ProfileRepository.cs @@ -0,0 +1,11 @@ +using DigitalData.Core.Abstractions.Infrastructure; +using DigitalData.Core.Infrastructure; +using WorkFlow.Domain.Entities; +using WorkFlow.Infrastructure.Contracts; + +namespace WorkFlow.Infrastructure.Repositories +{ + public class ProfileRepository(WFDBContext dbContext) : CRUDRepository(dbContext, dbContext.Profiles), IProfileRepository, ICRUDRepository + { + } +} \ No newline at end of file diff --git a/WorkFlow.Infrastructure/Repositories/WfStateRepository.cs b/WorkFlow.Infrastructure/Repositories/WfStateRepository.cs new file mode 100644 index 0000000..ee3d9e6 --- /dev/null +++ b/WorkFlow.Infrastructure/Repositories/WfStateRepository.cs @@ -0,0 +1,10 @@ +using DigitalData.Core.Abstractions.Infrastructure; +using DigitalData.Core.Infrastructure; +using WorkFlow.Domain.Entities; +using WorkFlow.Infrastructure.Contracts; +namespace WorkFlow.Infrastructure.Repositories +{ + public class WfStateRepository(WFDBContext dbContext) : CRUDRepository(dbContext, dbContext.WfStates), IWfStateRepository, ICRUDRepository + { + } +} \ No newline at end of file diff --git a/WorkFlow.Infrastructure/WFDBContext.cs b/WorkFlow.Infrastructure/WFDBContext.cs index a9288cf..bb9e7ed 100644 --- a/WorkFlow.Infrastructure/WFDBContext.cs +++ b/WorkFlow.Infrastructure/WFDBContext.cs @@ -7,7 +7,7 @@ namespace WorkFlow.Infrastructure { public DbSet Configs { get; set; } - public DbSet ProfControlsTf { get; set; } + public DbSet ProfControlsTfs { get; set; } public DbSet Profiles { get; set; }