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.
 
 
 

40 lines
1.2 KiB

  1. // <auto-generated />
  2. using Microsoft.EntityFrameworkCore;
  3. using Microsoft.EntityFrameworkCore.Infrastructure;
  4. using Microsoft.EntityFrameworkCore.Metadata;
  5. using Microsoft.EntityFrameworkCore.Migrations;
  6. using Microsoft.EntityFrameworkCore.Storage;
  7. using Microsoft.EntityFrameworkCore.Storage.Internal;
  8. using Sample.RabbitMQ.SqlServer;
  9. using System;
  10. namespace Sample.RabbitMQ.SqlServer.Migrations
  11. {
  12. [DbContext(typeof(AppDbContext))]
  13. partial class AppDbContextModelSnapshot : ModelSnapshot
  14. {
  15. protected override void BuildModel(ModelBuilder modelBuilder)
  16. {
  17. #pragma warning disable 612, 618
  18. modelBuilder
  19. .HasAnnotation("ProductVersion", "2.0.0-rtm-26452")
  20. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  21. modelBuilder.Entity("Sample.RabbitMQ.SqlServer.Controllers.Person", b =>
  22. {
  23. b.Property<int>("Id")
  24. .ValueGeneratedOnAdd();
  25. b.Property<int>("Age");
  26. b.Property<string>("Name");
  27. b.HasKey("Id");
  28. b.ToTable("Persons");
  29. });
  30. #pragma warning restore 612, 618
  31. }
  32. }
  33. }