Command forms ef migration

This commit is contained in:
2017-01-23 09:54:05 +01:00
parent 8f929d6b69
commit dfe1d9f497
3 changed files with 1499 additions and 0 deletions

View File

@ -715,6 +715,20 @@ namespace Yavsc.Migrations
b.HasKey("Id");
});
modelBuilder.Entity("Yavsc.Models.Workflow.CommandForm", b =>
{
b.Property<string>("Id");
b.Property<string>("ActivityCode")
.IsRequired();
b.Property<string>("Summary");
b.Property<string>("Title");
b.HasKey("Id");
});
modelBuilder.Entity("Yavsc.Models.Workflow.CoWorking", b =>
{
b.Property<long>("Id")
@ -1010,6 +1024,13 @@ namespace Yavsc.Migrations
.HasForeignKey("PostId");
});
modelBuilder.Entity("Yavsc.Models.Workflow.CommandForm", b =>
{
b.HasOne("Yavsc.Models.Activity")
.WithMany()
.HasForeignKey("ActivityCode");
});
modelBuilder.Entity("Yavsc.Models.Workflow.CoWorking", b =>
{
b.HasOne("Yavsc.Models.Booking.Profiles.FormationSettings")