// using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using contacts; namespace contacts.Migrations { [DbContext(typeof(PeopleContext))] partial class PeopleContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "3.1.9"); modelBuilder.Entity("contacts.Person", b => { b.Property("PersonId") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property("Age") .HasColumnType("INTEGER"); b.Property("Name") .HasColumnType("TEXT"); b.HasKey("PersonId"); b.ToTable("People"); }); #pragma warning restore 612, 618 } } }