114 lines
4.1 KiB
C#
114 lines
4.1 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("20201014142507_add-client-dbset")]
|
|||
|
partial class addclientdbset
|
|||
|
{
|
|||
|
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.Client", b =>
|
|||
|
{
|
|||
|
b.Property<int>("Id")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("int")
|
|||
|
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
|
|||
|
|
|||
|
b.Property<string>("Address")
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<string>("City")
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<DateTime>("Created")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.Property<string>("Email")
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<string>("FirstName")
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<string>("LastName")
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<DateTime>("Modified")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.Property<long>("Phone")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<string>("State")
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<string>("Zip")
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.HasKey("Id");
|
|||
|
|
|||
|
b.ToTable("Clients");
|
|||
|
});
|
|||
|
|
|||
|
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
|
|||
|
}
|
|||
|
}
|
|||
|
}
|