Add new DbSet properties to RecDbContext
Expanded RecDbContext to include new DbSet properties for managing `Connections`, `Endpoints`, `EndpointAuths`, `Profiles`, and `RecActions`. These additions enable interaction with corresponding database tables/entities. Updated the `OnModelCreating` method to ensure proper configuration of the context. Removed an extraneous closing brace to maintain proper syntax.
This commit is contained in:
parent
d764668cd7
commit
d6b914b9c8
@ -16,6 +16,16 @@ public class RecDbContext(DbContextOptions<RecDbContext> options) : DbContext(op
|
||||
|
||||
public DbSet<BodyQueryResult> BodyQueryResults { get; set; }
|
||||
|
||||
public DbSet<Connection> Connections { get; set; }
|
||||
|
||||
public DbSet<Endpoint> Endpoints { get; set; }
|
||||
|
||||
public DbSet<EndpointAuth> EndpointAuths { get; set; }
|
||||
|
||||
public DbSet<Profile> Profiles { get; set; }
|
||||
|
||||
public DbSet<RecAction> RecActions { get; set; }
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
base.OnModelCreating(modelBuilder);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user