Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

7 роки тому
123456789101112131415161718192021222324252627282930313233343536373839
  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. }