25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20170824130007_AddPersons.Designer.cs 1.3 KiB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. [Migration("20170824130007_AddPersons")]
  14. partial class AddPersons
  15. {
  16. protected override void BuildTargetModel(ModelBuilder modelBuilder)
  17. {
  18. #pragma warning disable 612, 618
  19. modelBuilder
  20. .HasAnnotation("ProductVersion", "2.0.0-rtm-26452")
  21. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  22. modelBuilder.Entity("Sample.RabbitMQ.SqlServer.Controllers.Person", b =>
  23. {
  24. b.Property<int>("Id")
  25. .ValueGeneratedOnAdd();
  26. b.Property<int>("Age");
  27. b.Property<string>("Name");
  28. b.HasKey("Id");
  29. b.ToTable("Persons");
  30. });
  31. #pragma warning restore 612, 618
  32. }
  33. }
  34. }