// 
using System;
using AbpPerfTest.WithAbp.EntityFramework;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Volo.Abp.EntityFrameworkCore;
namespace AbpPerfTest.WithAbp.Migrations
{
    [DbContext(typeof(BookDbContext))]
    partial class BookDbContextModelSnapshot : ModelSnapshot
    {
        protected override void BuildModel(ModelBuilder modelBuilder)
        {
#pragma warning disable 612, 618
            modelBuilder
                .UseIdentityColumns()
                .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
                .HasAnnotation("Relational:MaxIdentifierLength", 128)
                .HasAnnotation("ProductVersion", "5.0.1");
            modelBuilder.Entity("AbpPerfTest.WithAbp.Entities.Book", b =>
                {
                    b.Property("Id")
                        .HasColumnType("uniqueidentifier");
                    b.Property("IsAvailable")
                        .HasColumnType("bit");
                    b.Property("Name")
                        .HasMaxLength(128)
                        .HasColumnType("nvarchar(128)");
                    b.Property("Price")
                        .HasColumnType("real");
                    b.HasKey("Id");
                    b.ToTable("Books");
                });
#pragma warning restore 612, 618
        }
    }
}