// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Repository; namespace Repository.Migrations { [DbContext(typeof(TeamDataContext))] [Migration("20230207162914_AddTable")] partial class AddTable { protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "3.1.32"); modelBuilder.Entity("Repository.Entiies.TestResult", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("TEXT"); b.Property("Barcode") .HasColumnType("TEXT"); b.Property("Datetime") .HasColumnType("TEXT"); b.Property("Juge") .HasColumnType("INTEGER"); b.Property("Result") .HasColumnType("REAL"); b.HasKey("Id"); b.ToTable("ProductResult"); }); #pragma warning restore 612, 618 } } }