Files
Yi.Admin/CC.Yi.API/Migrations/DataContextModelSnapshot.cs

35 lines
993 B
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.Storage.ValueConversion;
namespace CC.Yi.API.Migrations
{
[DbContext(typeof(DataContext))]
partial class DataContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
2021-05-13 01:39:34 +08:00
.HasAnnotation("ProductVersion", "5.0.5");
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-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
}
}
}