44 lines
1.3 KiB
C#
44 lines
1.3 KiB
C#
|
// <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
|
|||
|
}
|
|||
|
}
|
|||
|
}
|