|
|
|
@ -0,0 +1,47 @@
|
|
|
|
|
// <auto-generated />
|
|
|
|
|
using ContextLib;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
|
|
|
|
|
|
|
|
#nullable disable
|
|
|
|
|
|
|
|
|
|
namespace ContextLib.Migrations
|
|
|
|
|
{
|
|
|
|
|
[DbContext(typeof(LibraryContext))]
|
|
|
|
|
[Migration("20240126215524_seuxiemeTestMigrationn")]
|
|
|
|
|
partial class seuxiemeTestMigrationn
|
|
|
|
|
{
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
|
|
|
|
{
|
|
|
|
|
#pragma warning disable 612, 618
|
|
|
|
|
modelBuilder.HasAnnotation("ProductVersion", "8.0.1");
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Entities.BookEntity", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<long>("id")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Author")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Isbn")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Title")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.HasKey("id");
|
|
|
|
|
|
|
|
|
|
b.ToTable("BooksSet");
|
|
|
|
|
});
|
|
|
|
|
#pragma warning restore 612, 618
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|