|
123456789101112131415161718192021222324252627282930313233343536373839 |
- // <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))]
- partial class AppDbContextModelSnapshot : ModelSnapshot
- {
- protected override void BuildModel(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
- }
- }
- }
|