72 lines
2.6 KiB
C#
72 lines
2.6 KiB
C#
// <auto-generated />
|
|
using System;
|
|
using COA.EnterpriseServices.DataAccess.EntityFramework;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Metadata;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
|
|
namespace COA.EnterpriseServices.DataAccess.EntityFramework.Migrations
|
|
{
|
|
[DbContext(typeof(QuickBaseContext))]
|
|
[Migration("20201014142201_add-client")]
|
|
partial class addclient
|
|
{
|
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
|
{
|
|
#pragma warning disable 612, 618
|
|
modelBuilder
|
|
.HasAnnotation("ProductVersion", "3.1.9")
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 128)
|
|
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
|
|
|
|
modelBuilder.Entity("COA.EnterpriseServices.DataAccess.Entities.Creditor", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("int")
|
|
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
|
|
|
|
b.Property<string>("ClientFirstName")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ClientLastName")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("Created")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<DateTime>("Modified")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("Status")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("Creditors");
|
|
});
|
|
|
|
modelBuilder.Entity("COA.EnterpriseServices.DataAccess.Entities.SettlementAttempt", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("int")
|
|
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
|
|
|
|
b.Property<DateTime>("Created")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<DateTime>("Modified")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("SettlementAttempts");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|