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.

20170622091105_CreateInit.Designer.cs 1.4 KiB

7 years ago
7 years ago
7 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. using DotNetCore.CAP.Infrastructure;
  8. namespace Sample.Kafka.Migrations
  9. {
  10. [DbContext(typeof(AppDbContext))]
  11. [Migration("20170622091105_CreateInit")]
  12. partial class CreateInit
  13. {
  14. protected override void BuildTargetModel(ModelBuilder modelBuilder)
  15. {
  16. modelBuilder
  17. .HasAnnotation("ProductVersion", "1.1.2")
  18. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  19. modelBuilder.Entity("DotNetCore.CAP.Infrastructure.ConsistencyMessage", b =>
  20. {
  21. b.Property<string>("Id")
  22. .ValueGeneratedOnAdd();
  23. b.Property<string>("Payload");
  24. b.Property<byte[]>("RowVersion")
  25. .IsConcurrencyToken();
  26. b.Property<DateTime>("SendTime");
  27. b.Property<int>("Status");
  28. b.Property<string>("Topic");
  29. b.Property<DateTime?>("UpdateTime");
  30. b.HasKey("Id");
  31. b.ToTable("Messages");
  32. });
  33. }
  34. }
  35. }