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.

20180821021736_init.Designer.cs 1.0 KiB

6 年之前
1234567891011121314151617181920212223242526272829303132333435
  1. // <auto-generated />
  2. using Microsoft.EntityFrameworkCore;
  3. using Microsoft.EntityFrameworkCore.Infrastructure;
  4. using Microsoft.EntityFrameworkCore.Migrations;
  5. using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
  6. using Sample.RabbitMQ.MySql;
  7. namespace Sample.RabbitMQ.MySql.Migrations
  8. {
  9. [DbContext(typeof(AppDbContext))]
  10. [Migration("20180821021736_init")]
  11. partial class init
  12. {
  13. protected override void BuildTargetModel(ModelBuilder modelBuilder)
  14. {
  15. #pragma warning disable 612, 618
  16. modelBuilder
  17. .HasAnnotation("ProductVersion", "2.1.1-rtm-30846")
  18. .HasAnnotation("Relational:MaxIdentifierLength", 64);
  19. modelBuilder.Entity("Sample.RabbitMQ.MySql.Person", b =>
  20. {
  21. b.Property<int>("Id")
  22. .ValueGeneratedOnAdd();
  23. b.Property<string>("Name");
  24. b.HasKey("Id");
  25. b.ToTable("Persons");
  26. });
  27. #pragma warning restore 612, 618
  28. }
  29. }
  30. }