using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using DotNetCore.CAP.EntityFrameworkCore.Test; namespace DotNetCore.CAP.EntityFrameworkCore.Test.Migrations { [DbContext(typeof(TestDbContext))] partial class TestDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { modelBuilder .HasAnnotation("ProductVersion", "1.1.2") .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn); modelBuilder.Entity("DotNetCore.CAP.Infrastructure.CapReceivedMessage", b => { b.Property("Id") .ValueGeneratedOnAdd(); b.Property("Added"); b.Property("Content"); b.Property("KeyName"); b.Property("LastRun"); b.Property("Retries"); b.Property("StatusName") .HasMaxLength(50); b.HasKey("Id"); b.ToTable("CapReceivedMessages"); }); modelBuilder.Entity("DotNetCore.CAP.Infrastructure.CapSentMessage", b => { b.Property("Id") .ValueGeneratedOnAdd(); b.Property("Added"); b.Property("Content"); b.Property("KeyName"); b.Property("LastRun"); b.Property("Retries"); b.Property("StatusName") .HasMaxLength(50); b.HasKey("Id"); b.ToTable("CapSentMessages"); }); } } }