// using System; using Elsa.Persistence.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; namespace Sample14.Migrations { [DbContext(typeof(ElsaContext))] partial class ElsaContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "2.2.6-servicing-10079"); modelBuilder.Entity("Elsa.Models.WorkflowDefinition", b => { b.Property("Id"); b.Property("Version"); b.Property("Activities"); b.Property("Connections"); b.Property("Description"); b.Property("IsLatest"); b.Property("IsPublished"); b.Property("IsSingleton"); b.Property("Name"); b.Property("Variables"); b.HasKey("Id", "Version"); b.ToTable("WorkflowDefinitions"); }); modelBuilder.Entity("Elsa.Models.WorkflowInstance", b => { b.Property("Id"); b.Property("Activities"); b.Property("BlockingActivities"); b.Property("CorrelationId"); b.Property("CreatedAt"); b.Property("DefinitionId"); b.Property("ExecutionLog"); b.Property("Fault"); b.Property("FinishedAt"); b.Property("HaltedAt"); b.Property("Input"); b.Property("Scopes"); b.Property("StartedAt"); b.Property("Status"); b.Property("Version"); b.HasKey("Id"); b.ToTable("WorkflowInstances"); }); #pragma warning restore 612, 618 } } }