|
1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- 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<string>("Id")
- .ValueGeneratedOnAdd();
-
- b.Property<string>("Payload");
-
- b.Property<byte[]>("RowVersion")
- .IsConcurrencyToken();
-
- b.Property<DateTime>("SendTime");
-
- b.Property<int>("Status");
-
- b.Property<string>("Topic");
-
- b.Property<DateTime?>("UpdateTime");
-
- b.HasKey("Id");
-
- b.ToTable("Messages");
- });
- }
- }
- }
|