19 lines
614 B
C#
19 lines
614 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using PARR.DAL.Models;
|
|
|
|
namespace PARR.DAL.Context
|
|
{
|
|
internal class DataContext : DbContext
|
|
{
|
|
public DataContext(DbContextOptions<DataContext> options) : base(options) { }
|
|
|
|
public DbSet<JobType> JobTypes { get; set; }
|
|
public DbSet<JobCategory> JobCategories { get; set; }
|
|
public DbSet<JobMode> JobModes { get; set; }
|
|
public DbSet<JobStatus> JobStatuses { get; set; }
|
|
public DbSet<Host> Hosts { get; set; }
|
|
public DbSet<Job> Jobs { get; set; }
|
|
public DbSet<JobJournal> JobJournals { get; set; }
|
|
}
|
|
}
|