CQRS_Simple/CQRS_Simple.EntityFrameworkCore/Migrations/SimpleDbContextModelSnapshot.cs

44 lines
1.3 KiB
C#
Raw Normal View History

2022-04-07 14:00:58 +08:00
// <auto-generated />
using CQRS_Simple.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace CQRS_Simple.EntityFrameworkCore.Migrations
{
[DbContext(typeof(SimpleDbContext))]
partial class SimpleDbContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "6.0.3")
.HasAnnotation("Relational:MaxIdentifierLength", 64);
modelBuilder.Entity("CQRS_Simple.Domain.Products.Product", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
b.Property<string>("Code")
.HasColumnType("longtext");
b.Property<string>("Description")
.HasColumnType("longtext");
b.Property<string>("Name")
.HasColumnType("longtext");
b.HasKey("Id");
b.ToTable("Products");
});
#pragma warning restore 612, 618
}
}
}