hair taints command in db
This commit is contained in:
parent
9f8acc1f5a
commit
692b665a2f
9 changed files with 2171 additions and 15 deletions
|
|
@ -1,6 +1,8 @@
|
|||
using System;
|
||||
using Microsoft.Data.Entity;
|
||||
using Microsoft.Data.Entity.Infrastructure;
|
||||
using Microsoft.Data.Entity.Metadata;
|
||||
using Microsoft.Data.Entity.Migrations;
|
||||
using Yavsc.Models;
|
||||
|
||||
namespace Yavsc.Migrations
|
||||
|
|
@ -637,11 +639,18 @@ namespace Yavsc.Migrations
|
|||
|
||||
b.Property<long>("ColorId");
|
||||
|
||||
b.Property<long?>("HairPrestationId");
|
||||
|
||||
b.HasKey("Id");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Haircut.HairTaintInstance", b =>
|
||||
{
|
||||
b.Property<long>("TaintId");
|
||||
|
||||
b.Property<long>("PrestationId");
|
||||
|
||||
b.HasKey("TaintId", "PrestationId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Identity.GoogleCloudMobileDeclaration", b =>
|
||||
{
|
||||
b.Property<string>("DeviceId");
|
||||
|
|
@ -1251,10 +1260,17 @@ namespace Yavsc.Migrations
|
|||
b.HasOne("Yavsc.Models.Drawing.Color")
|
||||
.WithMany()
|
||||
.HasForeignKey("ColorId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Haircut.HairTaintInstance", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Haircut.HairPrestation")
|
||||
.WithMany()
|
||||
.HasForeignKey("HairPrestationId");
|
||||
.HasForeignKey("PrestationId");
|
||||
|
||||
b.HasOne("Yavsc.Models.Haircut.HairTaint")
|
||||
.WithMany()
|
||||
.HasForeignKey("TaintId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Identity.GoogleCloudMobileDeclaration", b =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue