feat(ProfControlsTf.cs): Umbenennung der Domäne, des Repository und des dbset in ProfileControlsTF

This commit is contained in:
Developer 02 2024-10-23 11:44:11 +02:00
parent 4bcac51473
commit c76f9d1709
6 changed files with 15 additions and 15 deletions

View File

@ -6,7 +6,7 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace WorkFlow.Domain.Entities namespace WorkFlow.Domain.Entities
{ {
[Table("TBMWF_PROF_CONTROLS_TF", Schema = "dbo")] [Table("TBMWF_PROF_CONTROLS_TF", Schema = "dbo")]
public class ProfControlsTf : IUnique<int> public class ProfileControlsTF : IUnique<int>
{ {
[Key] [Key]
[Column("GUID")] [Column("GUID")]

View File

@ -3,7 +3,7 @@ using WorkFlow.Domain.Entities;
namespace WorkFlow.Infrastructure.Contracts namespace WorkFlow.Infrastructure.Contracts
{ {
public interface IProfControlsTfRepository : ICRUDRepository<ProfControlsTf, int> public interface IProfileControlsTFRepository : ICRUDRepository<ProfileControlsTF, int>
{ {
} }
} }

View File

@ -8,7 +8,7 @@ namespace WorkFlow.Infrastructure
{ {
public static IServiceCollection AddWorkFlowRepositories(this IServiceCollection services) => services public static IServiceCollection AddWorkFlowRepositories(this IServiceCollection services) => services
.AddScoped<IConfigRepository, ConfigRepository>() .AddScoped<IConfigRepository, ConfigRepository>()
.AddScoped<IProfControlsTfRepository, ProfControlsTfRepository>() .AddScoped<IProfileControlsTFRepository, ProfileControlsTFRepository>()
.AddScoped<IProfileObjStateRepository, ProfileObjStateRepository>() .AddScoped<IProfileObjStateRepository, ProfileObjStateRepository>()
.AddScoped<IProfileRepository, ProfileRepository>() .AddScoped<IProfileRepository, ProfileRepository>()
.AddScoped<IWfStateRepository, WfStateRepository>(); .AddScoped<IWfStateRepository, WfStateRepository>();

View File

@ -1,11 +0,0 @@
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<ProfControlsTf, int, WFDBContext>(dbContext, dbContext.ProfControlsTfs), IProfControlsTfRepository, ICRUDRepository<ProfControlsTf, int>
{
}
}

View File

@ -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 ProfileControlsTFRepository(WFDBContext dbContext) : CRUDRepository<ProfileControlsTF, int, WFDBContext>(dbContext, dbContext.ProfileControlsTFs), IProfileControlsTFRepository, ICRUDRepository<ProfileControlsTF, int>
{
}
}

View File

@ -7,7 +7,7 @@ namespace WorkFlow.Infrastructure
{ {
public DbSet<Config> Configs { get; set; } public DbSet<Config> Configs { get; set; }
public DbSet<ProfControlsTf> ProfControlsTfs { get; set; } public DbSet<ProfileControlsTF> ProfileControlsTFs { get; set; }
public DbSet<Profile> Profiles { get; set; } public DbSet<Profile> Profiles { get; set; }