using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Sample.Kafka; using DotNetCore.CAP.Infrastructure; namespace Sample.Kafka.Migrations { [DbContext(typeof(AppDbContext))] partial class AppDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { modelBuilder .HasAnnotation("ProductVersion", "1.1.2") .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn); modelBuilder.Entity("DotNetCore.CAP.Infrastructure.ConsistencyMessage", b => { b.Property("Id") .ValueGeneratedOnAdd(); b.Property("Payload"); b.Property("RowVersion") .IsConcurrencyToken(); b.Property("SendTime"); b.Property("Status"); b.Property("Topic"); b.Property("UpdateTime"); b.HasKey("Id"); b.ToTable("Messages"); }); } } }