EF core added
This commit is contained in:
224
SanSystem/Migrations/SanVerwalterContextModelSnapshot.cs
Normal file
224
SanSystem/Migrations/SanVerwalterContextModelSnapshot.cs
Normal file
@@ -0,0 +1,224 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
using SanSystem;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace SanSystem.Migrations
|
||||
{
|
||||
[DbContext(typeof(SanVerwalterContext))]
|
||||
partial class SanVerwalterContextModelSnapshot : ModelSnapshot
|
||||
{
|
||||
protected override void BuildModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "6.0.0");
|
||||
|
||||
modelBuilder.Entity("KlassenBIB.Auftraggeber", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<string>("Ansprechpartner")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("Ort")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("Strasse")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Auftraggebers");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("KlassenBIB.Inspektionsobjekt", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<string>("Bemerkung")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("BisPunkt")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<bool>("GeschlossenesEnde")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<Guid>("Guid")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<DateTime>("HaltungGemessen")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<double>("Haltungslaenge")
|
||||
.HasColumnType("REAL");
|
||||
|
||||
b.Property<string>("Hausnummer")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("Inspektionsrichtung")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<uint>("Kanalrohrweite")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<string>("Objektbezeichnung")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("OrtName")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<int?>("OverrideAuftraggeberId")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<int?>("ProjektId")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<string>("Projektnummer")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("RohrMaterial")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("Sanierungsnummer")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<double>("Schachtlaenge")
|
||||
.HasColumnType("REAL");
|
||||
|
||||
b.Property<string>("StrasseName")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("VonPunkt")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("OverrideAuftraggeberId");
|
||||
|
||||
b.HasIndex("ProjektId");
|
||||
|
||||
b.ToTable("InspektionObjekte");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("KlassenBIB.Projekt", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<int?>("AuftraggeberId")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<string>("Nummer")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("Ort")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("SanierungsIDPrefix")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("SanierungsIDSuffix")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("AuftraggeberId");
|
||||
|
||||
b.ToTable("Projekte");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("KlassenBIB.Sanierung", b =>
|
||||
{
|
||||
b.Property<bool>("GenehmigungVorhanden")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<Guid>("Guid")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<bool>("HDReinigung")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<DateTime>("HDReinigungDatum")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<int?>("InspektionsobjektId")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<bool>("STVOAbsicherung")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<double>("TempAusen")
|
||||
.HasColumnType("REAL");
|
||||
|
||||
b.Property<double>("TempKanal")
|
||||
.HasColumnType("REAL");
|
||||
|
||||
b.Property<bool>("VorbereitetMechanisch")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<bool>("VorbereitetRoboter")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<bool>("WasserhaltungEingerichtet")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<string>("Wetter")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.HasIndex("InspektionsobjektId");
|
||||
|
||||
b.ToTable("Sanierung");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("KlassenBIB.Inspektionsobjekt", b =>
|
||||
{
|
||||
b.HasOne("KlassenBIB.Auftraggeber", "OverrideAuftraggeber")
|
||||
.WithMany()
|
||||
.HasForeignKey("OverrideAuftraggeberId");
|
||||
|
||||
b.HasOne("KlassenBIB.Projekt", null)
|
||||
.WithMany("Objekte")
|
||||
.HasForeignKey("ProjektId");
|
||||
|
||||
b.Navigation("OverrideAuftraggeber");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("KlassenBIB.Projekt", b =>
|
||||
{
|
||||
b.HasOne("KlassenBIB.Auftraggeber", "Auftraggeber")
|
||||
.WithMany()
|
||||
.HasForeignKey("AuftraggeberId");
|
||||
|
||||
b.Navigation("Auftraggeber");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("KlassenBIB.Sanierung", b =>
|
||||
{
|
||||
b.HasOne("KlassenBIB.Inspektionsobjekt", "Inspektionsobjekt")
|
||||
.WithMany()
|
||||
.HasForeignKey("InspektionsobjektId");
|
||||
|
||||
b.Navigation("Inspektionsobjekt");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("KlassenBIB.Projekt", b =>
|
||||
{
|
||||
b.Navigation("Objekte");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user