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.
 
 
 

67 lines
1.9 KiB

  1. using System;
  2. using Microsoft.EntityFrameworkCore;
  3. using Microsoft.EntityFrameworkCore.Infrastructure;
  4. using Microsoft.EntityFrameworkCore.Metadata;
  5. using Microsoft.EntityFrameworkCore.Migrations;
  6. using Sample.Kafka;
  7. namespace Sample.Kafka.Migrations
  8. {
  9. [DbContext(typeof(AppDbContext))]
  10. partial class AppDbContextModelSnapshot : 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>("StateName")
  27. .HasMaxLength(50);
  28. b.HasKey("Id");
  29. b.ToTable("ReceivedMessages");
  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>("StateName")
  41. .HasMaxLength(50);
  42. b.HasKey("Id");
  43. b.ToTable("SentMessages");
  44. });
  45. }
  46. }
  47. }