// using System; using DistDemoApp; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Volo.Abp.EntityFrameworkCore; namespace DistDemoApp.Migrations { [DbContext(typeof(TodoDbContext))] partial class TodoDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) .HasAnnotation("Relational:MaxIdentifierLength", 128) .HasAnnotation("ProductVersion", "5.0.9") .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn); modelBuilder.Entity("DistDemoApp.TodoItem", b => { b.Property("Id") .HasColumnType("uniqueidentifier"); b.Property("ConcurrencyStamp") .IsConcurrencyToken() .HasMaxLength(40) .HasColumnType("nvarchar(40)") .HasColumnName("ConcurrencyStamp"); b.Property("CreationTime") .HasColumnType("datetime2") .HasColumnName("CreationTime"); b.Property("CreatorId") .HasColumnType("uniqueidentifier") .HasColumnName("CreatorId"); b.Property("ExtraProperties") .HasColumnType("nvarchar(max)") .HasColumnName("ExtraProperties"); b.Property("Text") .IsRequired() .HasMaxLength(128) .HasColumnType("nvarchar(128)"); b.HasKey("Id"); b.ToTable("TodoItems"); }); modelBuilder.Entity("DistDemoApp.TodoSummary", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("int") .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn); b.Property("ConcurrencyStamp") .IsConcurrencyToken() .HasMaxLength(40) .HasColumnType("nvarchar(40)") .HasColumnName("ConcurrencyStamp"); b.Property("Day") .HasColumnType("tinyint"); b.Property("ExtraProperties") .HasColumnType("nvarchar(max)") .HasColumnName("ExtraProperties"); b.Property("Month") .HasColumnType("tinyint"); b.Property("TotalCount") .HasColumnType("int"); b.Property("Year") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("TodoSummaries"); }); modelBuilder.Entity("Volo.Abp.EntityFrameworkCore.DistributedEvents.IncomingEventRecord", b => { b.Property("Id") .HasColumnType("uniqueidentifier"); b.Property("CreationTime") .HasColumnType("datetime2") .HasColumnName("CreationTime"); b.Property("EventData") .IsRequired() .HasColumnType("varbinary(max)"); b.Property("EventName") .IsRequired() .HasMaxLength(256) .HasColumnType("nvarchar(256)"); b.Property("ExtraProperties") .HasColumnType("nvarchar(max)") .HasColumnName("ExtraProperties"); b.Property("MessageId") .HasColumnType("nvarchar(450)"); b.Property("Processed") .HasColumnType("bit"); b.Property("ProcessedTime") .HasColumnType("datetime2"); b.HasKey("Id"); b.HasIndex("MessageId"); b.HasIndex("Processed", "CreationTime"); b.ToTable("AbpEventInbox"); }); modelBuilder.Entity("Volo.Abp.EntityFrameworkCore.DistributedEvents.OutgoingEventRecord", b => { b.Property("Id") .HasColumnType("uniqueidentifier"); b.Property("CreationTime") .HasColumnType("datetime2") .HasColumnName("CreationTime"); b.Property("EventData") .IsRequired() .HasColumnType("varbinary(max)"); b.Property("EventName") .IsRequired() .HasMaxLength(256) .HasColumnType("nvarchar(256)"); b.Property("ExtraProperties") .HasColumnType("nvarchar(max)") .HasColumnName("ExtraProperties"); b.HasKey("Id"); b.ToTable("AbpEventOutbox"); }); #pragma warning restore 612, 618 } } }