|
12345678910111213141516171819202122232425262728293031323334353637383940 |
- // <auto-generated />
- using Microsoft.EntityFrameworkCore;
- using Microsoft.EntityFrameworkCore.Infrastructure;
- using Microsoft.EntityFrameworkCore.Metadata;
- using Microsoft.EntityFrameworkCore.Migrations;
- using Microsoft.EntityFrameworkCore.Storage;
- using Microsoft.EntityFrameworkCore.Storage.Internal;
- using Sample.RabbitMQ.SqlServer;
- using System;
-
- namespace Sample.RabbitMQ.SqlServer.Migrations
- {
- [DbContext(typeof(AppDbContext))]
- [Migration("20170824130007_AddPersons")]
- partial class AddPersons
- {
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
- #pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("ProductVersion", "2.0.0-rtm-26452")
- .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
-
- modelBuilder.Entity("Sample.RabbitMQ.SqlServer.Controllers.Person", b =>
- {
- b.Property<int>("Id")
- .ValueGeneratedOnAdd();
-
- b.Property<int>("Age");
-
- b.Property<string>("Name");
-
- b.HasKey("Id");
-
- b.ToTable("Persons");
- });
- #pragma warning restore 612, 618
- }
- }
- }
|