mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.5 KiB
47 lines
1.5 KiB
// <auto-generated />
|
|
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<Guid>("Id")
|
|
.HasColumnType("uniqueidentifier");
|
|
|
|
b.Property<bool>("IsAvailable")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Name")
|
|
.HasMaxLength(128)
|
|
.HasColumnType("nvarchar(128)");
|
|
|
|
b.Property<float>("Price")
|
|
.HasColumnType("real");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("Books");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|