diff --git a/src/ReC.Application/Common/Interfaces/IRecDbContext.cs b/src/ReC.Application/Common/Interfaces/IRecDbContext.cs index 36006af..9341337 100644 --- a/src/ReC.Application/Common/Interfaces/IRecDbContext.cs +++ b/src/ReC.Application/Common/Interfaces/IRecDbContext.cs @@ -7,6 +7,7 @@ namespace ReC.Application.Common.Interfaces; public interface IRecDbContext { + #region DbSets public DbSet EndpointParams { get; set; } public DbSet RecActionViews { get; set; } @@ -32,6 +33,7 @@ public interface IRecDbContext public DbSet RecActions { get; set; } public DbSet RecResults { get; set; } + #endregion DbSets public Task SaveChangesAsync(CancellationToken cancel = default); } \ No newline at end of file diff --git a/src/ReC.Infrastructure/RecDbContext.cs b/src/ReC.Infrastructure/RecDbContext.cs index df02646..d2918db 100644 --- a/src/ReC.Infrastructure/RecDbContext.cs +++ b/src/ReC.Infrastructure/RecDbContext.cs @@ -8,6 +8,7 @@ namespace ReC.Infrastructure; public class RecDbContext(DbContextOptions options) : DbContext(options), IRecDbContext { + #region DB Sets public DbSet EndpointParams { get; set; } public DbSet RecActionViews { get; set; } @@ -33,6 +34,7 @@ public class RecDbContext(DbContextOptions options) : DbContext(op public DbSet RecActions { get; set; } public DbSet RecResults { get; set; } + #endregion DB Sets // TODO: Update to configure via appsettings.json protected override void OnModelCreating(ModelBuilder modelBuilder)