// using System; using IRaCIS.Core.Test.CodeFirstTest.MSSQL; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace IRaCIS.Core.Test.CodeFirstTest.MSSQL.Migrations { [DbContext(typeof(IRCContext))] partial class IRCContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "8.0.8") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); modelBuilder.Entity("IRaCIS.Core.Test.CodeFirstTest.MSSQL.TestNew", b => { b.Property("Id") .HasColumnType("uniqueidentifier"); b.Property("CreateTime") .HasColumnType("datetime2"); b.Property("CreateUserId") .HasColumnType("uniqueidentifier"); b.Property("TestName") .IsRequired() .HasMaxLength(100) .HasColumnType("nvarchar(100)"); b.Property("TrialImageDownloadId") .HasColumnType("uniqueidentifier"); b.Property("UpdateTime") .HasColumnType("datetime2"); b.Property("UpdateUserId") .HasColumnType("uniqueidentifier"); b.HasKey("Id"); b.HasIndex("TrialImageDownloadId"); b.ToTable("TestNew"); }); modelBuilder.Entity("IRaCIS.Core.Test.CodeFirstTest.MSSQL.TrialImageDownload", b => { b.Property("Id") .HasColumnType("uniqueidentifier"); b.Property("CreateTime") .HasColumnType("datetime2"); b.Property("CreateUserId") .HasColumnType("uniqueidentifier"); b.Property("DownloadEndTime") .HasColumnType("datetime2"); b.Property("DownloadStartTime") .HasColumnType("datetime2"); b.Property("ImageCount") .HasColumnType("int"); b.Property("ImageSize") .HasColumnType("bigint"); b.Property("ImageType") .HasColumnType("int"); b.Property("IsSuccess") .HasColumnType("bit"); b.Property("SubjectVisitId") .HasColumnType("uniqueidentifier"); b.Property("UpdateTime") .HasColumnType("datetime2"); b.Property("UpdateUserId") .HasColumnType("uniqueidentifier"); b.HasKey("Id"); b.ToTable("TrialImageDownload"); }); modelBuilder.Entity("IRaCIS.Core.Test.CodeFirstTest.MSSQL.TestNew", b => { b.HasOne("IRaCIS.Core.Test.CodeFirstTest.MSSQL.TrialImageDownload", null) .WithMany("TestNewList") .HasForeignKey("TrialImageDownloadId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); }); modelBuilder.Entity("IRaCIS.Core.Test.CodeFirstTest.MSSQL.TrialImageDownload", b => { b.Navigation("TestNewList"); }); #pragma warning restore 612, 618 } } }