// 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; #nullable disable namespace AbpPerfTest.WithAbp.Migrations { [DbContext(typeof(BookDbContext))] partial class BookDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("ProductVersion", "8.0.0") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); 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", (string)null); }); #pragma warning restore 612, 618 } } }