26 lines
643 B
C#
26 lines
643 B
C#
using GerstITS.Data.EntityFramework;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace GerstITS.Examples.JobDashboard.Data;
|
|
|
|
public sealed class JobRunDbContext : EntityFrameworkDbContextBase, IDbContext
|
|
{
|
|
#region Properties
|
|
|
|
public DbSet<JobRunEntity> JobRuns => Set<JobRunEntity>();
|
|
|
|
protected override string ConnectionStringName => "JobRunDbContext";
|
|
|
|
#endregion
|
|
|
|
#region Constructors
|
|
|
|
public JobRunDbContext(IDatabaseConfigurator databaseConfigurator,
|
|
DbContextOptions<JobRunDbContext> dbContextOptions)
|
|
: base(databaseConfigurator, dbContextOptions)
|
|
{
|
|
}
|
|
|
|
#endregion
|
|
}
|