Files
Yi.Admin/CC.Yi/CC.Yi.Model/Migrations/20210602115718_yi2.Designer.cs

40 lines
1.1 KiB
C#
Raw Normal View History

2021-03-20 14:12:24 +08:00
// <auto-generated />
using CC.Yi.Model;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
2021-06-02 20:00:25 +08:00
namespace CC.Yi.Model.Migrations
2021-03-20 14:12:24 +08:00
{
[DbContext(typeof(DataContext))]
2021-06-02 20:00:25 +08:00
[Migration("20210602115718_yi2")]
partial class yi2
2021-03-20 14:12:24 +08:00
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
2021-06-02 20:00:25 +08:00
.HasAnnotation("ProductVersion", "5.0.6");
2021-03-20 14:12:24 +08:00
modelBuilder.Entity("CC.Yi.Model.student", b =>
{
b.Property<int>("id")
.ValueGeneratedOnAdd()
2021-05-13 01:39:34 +08:00
.HasColumnType("INTEGER");
2021-03-20 14:12:24 +08:00
2021-06-02 20:00:25 +08:00
b.Property<int>("is_delete")
.HasColumnType("INTEGER");
2021-05-13 01:39:34 +08:00
b.Property<string>("name")
.HasColumnType("TEXT");
2021-03-20 14:12:24 +08:00
b.HasKey("id");
b.ToTable("student");
});
#pragma warning restore 612, 618
}
}
}