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.
 
 
 

69 lines
2.0 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>("Group");
  24. b.Property<string>("KeyName");
  25. b.Property<DateTime>("LastRun");
  26. b.Property<int>("Retries");
  27. b.Property<string>("StatusName")
  28. .HasMaxLength(50);
  29. b.HasKey("Id");
  30. b.ToTable("ReceivedMessages");
  31. });
  32. modelBuilder.Entity("DotNetCore.CAP.Infrastructure.CapSentMessage", b =>
  33. {
  34. b.Property<string>("Id")
  35. .ValueGeneratedOnAdd();
  36. b.Property<DateTime>("Added");
  37. b.Property<string>("Content");
  38. b.Property<string>("KeyName");
  39. b.Property<DateTime>("LastRun");
  40. b.Property<int>("Retries");
  41. b.Property<string>("StatusName")
  42. .HasMaxLength(50);
  43. b.HasKey("Id");
  44. b.ToTable("SentMessages");
  45. });
  46. }
  47. }
  48. }