51 lines
1.5 KiB
C#
51 lines
1.5 KiB
C#
// <auto-generated />
|
|
using System;
|
|
using Drab.LocalDb;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
|
|
namespace Drab.LocalDb.Migrations
|
|
{
|
|
[DbContext(typeof(LocalDbContext))]
|
|
partial class LocalDbContextModelSnapshot : ModelSnapshot
|
|
{
|
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|
{
|
|
#pragma warning disable 612, 618
|
|
modelBuilder
|
|
.HasAnnotation("ProductVersion", "5.0.11");
|
|
|
|
modelBuilder.Entity("Drab.LocalDb.Entities.OrderDb", b =>
|
|
{
|
|
b.Property<long>("OrderId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<DateTime>("Created")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<long>("DokId")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<string>("Filename")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<bool>("IsPrinted")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<string>("OrderNumber")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("Shop")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.HasKey("OrderId");
|
|
|
|
b.ToTable("Orders");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|