Klassen erweitert

This commit is contained in:
Husky
2020-02-21 09:50:32 +01:00
parent 5798fc6108
commit fc144554a5
18 changed files with 596 additions and 192 deletions

View File

@@ -6,8 +6,10 @@ namespace KanSan.Base
{
public class KanSanContext : DbContext
{
public DbSet<Baustelle> Baustellen { get; set; }
public DbSet<Projekt> Projekte { get; set; }
public DbSet<Kunde> Kunden { get; set; }
public DbSet<Sewer> Kanaele { get; set; }
public DbSet<SewerPoint> SewerPoints { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
optionsBuilder.UseSqlite("Data Source=kansan.db");