// 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 SieveTests.Entities; using System; namespace SieveTests.Migrations { [DbContext(typeof(ApplicationDbContext))] partial class ApplicationDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "2.0.1-rtm-125") .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn); modelBuilder.Entity("SieveTests.Entities.Post", b => { b.Property("Id") .ValueGeneratedOnAdd(); b.Property("CommentCount"); b.Property("DateCreated"); b.Property("DateLastViewed") .HasColumnType("datetime"); b.Property("LikeCount"); b.Property("CategoryId"); b.Property("Title"); b.HasKey("Id"); b.ToTable("Posts"); }); #pragma warning restore 612, 618 } } }