You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TestDbContextModelSnapshot.cs 2.0 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. using System;
  2. using Microsoft.EntityFrameworkCore;
  3. using Microsoft.EntityFrameworkCore.Infrastructure;
  4. using Microsoft.EntityFrameworkCore.Metadata;
  5. using Microsoft.EntityFrameworkCore.Migrations;
  6. using DotNetCore.CAP.EntityFrameworkCore.Test;
  7. namespace DotNetCore.CAP.EntityFrameworkCore.Test.Migrations
  8. {
  9. [DbContext(typeof(TestDbContext))]
  10. partial class TestDbContextModelSnapshot : ModelSnapshot
  11. {
  12. protected override void BuildModel(ModelBuilder modelBuilder)
  13. {
  14. modelBuilder
  15. .HasAnnotation("ProductVersion", "1.1.2")
  16. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  17. modelBuilder.Entity("DotNetCore.CAP.Infrastructure.CapReceivedMessage", b =>
  18. {
  19. b.Property<string>("Id")
  20. .ValueGeneratedOnAdd();
  21. b.Property<DateTime>("Added");
  22. b.Property<string>("Content");
  23. b.Property<string>("KeyName");
  24. b.Property<DateTime>("LastRun");
  25. b.Property<int>("Retries");
  26. b.Property<string>("StatusName")
  27. .HasMaxLength(50);
  28. b.HasKey("Id");
  29. b.ToTable("CapReceivedMessages");
  30. });
  31. modelBuilder.Entity("DotNetCore.CAP.Infrastructure.CapSentMessage", b =>
  32. {
  33. b.Property<string>("Id")
  34. .ValueGeneratedOnAdd();
  35. b.Property<DateTime>("Added");
  36. b.Property<string>("Content");
  37. b.Property<string>("KeyName");
  38. b.Property<DateTime>("LastRun");
  39. b.Property<int>("Retries");
  40. b.Property<string>("StatusName")
  41. .HasMaxLength(50);
  42. b.HasKey("Id");
  43. b.ToTable("CapSentMessages");
  44. });
  45. }
  46. }
  47. }