20230207162914_AddTable.Designer.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // <auto-generated />
  2. using System;
  3. using Microsoft.EntityFrameworkCore;
  4. using Microsoft.EntityFrameworkCore.Infrastructure;
  5. using Microsoft.EntityFrameworkCore.Migrations;
  6. using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
  7. using Repository;
  8. namespace Repository.Migrations
  9. {
  10. [DbContext(typeof(TeamDataContext))]
  11. [Migration("20230207162914_AddTable")]
  12. partial class AddTable
  13. {
  14. protected override void BuildTargetModel(ModelBuilder modelBuilder)
  15. {
  16. #pragma warning disable 612, 618
  17. modelBuilder
  18. .HasAnnotation("ProductVersion", "3.1.32");
  19. modelBuilder.Entity("Repository.Entiies.TestResult", b =>
  20. {
  21. b.Property<Guid>("Id")
  22. .ValueGeneratedOnAdd()
  23. .HasColumnType("TEXT");
  24. b.Property<string>("Barcode")
  25. .HasColumnType("TEXT");
  26. b.Property<DateTime>("Datetime")
  27. .HasColumnType("TEXT");
  28. b.Property<int>("Juge")
  29. .HasColumnType("INTEGER");
  30. b.Property<double>("Result")
  31. .HasColumnType("REAL");
  32. b.HasKey("Id");
  33. b.ToTable("ProductResult");
  34. });
  35. #pragma warning restore 612, 618
  36. }
  37. }
  38. }