20 lines
622 B
C#
20 lines
622 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using Shared.Domain;
|
|
|
|
namespace SewerStammGen.EntityFramework
|
|
{
|
|
public class SewerStammGenDbContext : DbContext
|
|
{
|
|
public SewerStammGenDbContext(DbContextOptions options) : base(options) { }
|
|
|
|
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
|
{
|
|
base.OnModelCreating(modelBuilder);
|
|
}
|
|
|
|
public DbSet<Schacht>? Schaechte { get; set; }
|
|
public DbSet<Projekt>? Projekte { get; set; }
|
|
public DbSet<Kanal>? Kanaele { get; set; }
|
|
public DbSet<Auftraggeber>? Auftraggebers { get; set; }
|
|
}
|
|
} |