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.

AppDbContextModelSnapshot.cs 1008 B

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