50 lines
1.7 KiB
C#
50 lines
1.7 KiB
C#
// <auto-generated />
|
|
using DataStoring.EfCore;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
|
|
|
namespace DataStoring.EfCore.Migrations
|
|
{
|
|
[DbContext(typeof(DPContext))]
|
|
[Migration("20210226140235_Initialcommit")]
|
|
partial class Initialcommit
|
|
{
|
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
|
{
|
|
#pragma warning disable 612, 618
|
|
modelBuilder
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 63)
|
|
.HasAnnotation("ProductVersion", "5.0.3")
|
|
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
|
|
|
|
modelBuilder.Entity("Models.Auftraggeber", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("integer")
|
|
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
|
|
|
|
b.Property<string>("Name")
|
|
.HasColumnType("text");
|
|
|
|
b.Property<string>("Ort")
|
|
.HasColumnType("text");
|
|
|
|
b.Property<string>("Strasse")
|
|
.HasColumnType("text");
|
|
|
|
b.Property<string>("Tel")
|
|
.HasColumnType("text");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("AuftraggeberSet");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|