PortBlog.API/PortBlog.API/Migrations/20240425092224_InitialDBMigration.Designer.cs
Bangara Raju Kottedi 4c6f9a4ba8 Changes:
Database Migration, Repositories, Automapper, Logger, StaticFiles
2024-04-26 02:34:47 +05:30

982 lines
34 KiB
C#

// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using PortBlog.API.DbContexts;
#nullable disable
namespace PortBlog.API.Migrations
{
[DbContext(typeof(CvBlogContext))]
[Migration("20240425092224_InitialDBMigration")]
partial class InitialDBMigration
{
/// <inheritdoc />
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "8.0.4")
.HasAnnotation("Relational:MaxIdentifierLength", 64);
MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);
modelBuilder.Entity("PortBlog.API.Entities.Academic", b =>
{
b.Property<int>("AcademicId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("AcademicId"));
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Degree")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("DegreeSpecialization")
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<int>("EndYear")
.HasColumnType("int");
b.Property<string>("Institution")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<int>("ResumeId")
.HasColumnType("int");
b.Property<int>("StartYear")
.HasColumnType("int");
b.HasKey("AcademicId");
b.HasIndex("ResumeId");
b.ToTable("Academics");
});
modelBuilder.Entity("PortBlog.API.Entities.Blog", b =>
{
b.Property<string>("BlogUrl")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Description")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
b.HasKey("BlogUrl");
b.ToTable("Blogs");
});
modelBuilder.Entity("PortBlog.API.Entities.Candidate", b =>
{
b.Property<int>("CandidateId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("CandidateId"));
b.Property<string>("Address")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("Avatar")
.HasColumnType("longtext");
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Email")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("FirstName")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
b.Property<string>("Gender")
.HasColumnType("longtext");
b.Property<string>("LastName")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Phone")
.IsRequired()
.HasMaxLength(20)
.HasColumnType("varchar(20)");
b.HasKey("CandidateId");
b.ToTable("Candidates");
});
modelBuilder.Entity("PortBlog.API.Entities.Certification", b =>
{
b.Property<int>("CertificationId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("CertificationId"));
b.Property<string>("CertificationLink")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("CertificationName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<DateTime?>("ExpiryDate")
.HasColumnType("datetime(6)");
b.Property<DateTime>("IssueDate")
.HasColumnType("datetime(6)");
b.Property<string>("IssuingOrganization")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<int>("ResumeId")
.HasColumnType("int");
b.HasKey("CertificationId");
b.HasIndex("ResumeId");
b.ToTable("Certifications");
});
modelBuilder.Entity("PortBlog.API.Entities.ClientLog", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
b.Property<string>("ClientIp")
.IsRequired()
.HasColumnType("longtext");
b.Property<string>("ClientLocation")
.HasColumnType("longtext");
b.Property<DateTime>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("SiteName")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
b.Property<string>("SiteUrl")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.HasKey("Id");
b.ToTable("ClientLogs");
});
modelBuilder.Entity("PortBlog.API.Entities.Experience", b =>
{
b.Property<int>("ExperienceId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("ExperienceId"));
b.Property<string>("Company")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Description")
.HasMaxLength(500)
.HasColumnType("varchar(500)");
b.Property<DateTime?>("EndDate")
.HasColumnType("datetime(6)");
b.Property<string>("Location")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<int>("ResumeId")
.HasColumnType("int");
b.Property<DateTime>("StartDate")
.HasColumnType("datetime(6)");
b.Property<string>("Title")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.HasKey("ExperienceId");
b.HasIndex("ResumeId");
b.ToTable("Experiences");
});
modelBuilder.Entity("PortBlog.API.Entities.ExperienceDetails", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Details")
.IsRequired()
.HasMaxLength(500)
.HasColumnType("varchar(500)");
b.Property<int>("ExperienceId")
.HasColumnType("int");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<int>("Order")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("ExperienceId");
b.ToTable("ExperienceDetails");
});
modelBuilder.Entity("PortBlog.API.Entities.Hobby", b =>
{
b.Property<int>("HobbyId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("HobbyId"));
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Description")
.IsRequired()
.HasMaxLength(500)
.HasColumnType("varchar(500)");
b.Property<string>("Icon")
.HasMaxLength(50)
.HasColumnType("varchar(50)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<int>("Order")
.HasColumnType("int");
b.Property<int>("ResumeId")
.HasColumnType("int");
b.HasKey("HobbyId");
b.HasIndex("ResumeId");
b.ToTable("Hobbies");
});
modelBuilder.Entity("PortBlog.API.Entities.Message", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
b.Property<string>("Content")
.IsRequired()
.HasMaxLength(500)
.HasColumnType("varchar(500)");
b.Property<DateTime>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Email")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
b.Property<string>("Subject")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
b.HasKey("Id");
b.ToTable("Messages");
});
modelBuilder.Entity("PortBlog.API.Entities.MessageStatusLog", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
b.Property<DateTime>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<int>("MessageId")
.HasColumnType("int");
b.Property<string>("Status")
.IsRequired()
.HasMaxLength(10)
.HasColumnType("varchar(10)");
b.HasKey("Id");
b.HasIndex("MessageId");
b.ToTable("MessageStatusLogs");
});
modelBuilder.Entity("PortBlog.API.Entities.Post", b =>
{
b.Property<int>("PostId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("PostId"));
b.Property<string>("Author")
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("BlogUrl")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("Category")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<int>("Comments")
.HasColumnType("int");
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Description")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("Image")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<int>("Likes")
.HasColumnType("int");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<string>("PostUrl")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("Slug")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("Title")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<int>("Views")
.HasColumnType("int");
b.HasKey("PostId");
b.HasIndex("BlogUrl");
b.ToTable("Posts");
});
modelBuilder.Entity("PortBlog.API.Entities.Project", b =>
{
b.Property<int>("ProjectId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("ProjectId"));
b.Property<string>("Category")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("Challenges")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Description")
.IsRequired()
.HasMaxLength(500)
.HasColumnType("varchar(500)");
b.Property<DateTime?>("EndDate")
.HasColumnType("datetime(6)");
b.Property<string>("ImagePath")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("Impact")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("LessonsLearned")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("Responsibilities")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<int>("ResumeId")
.HasColumnType("int");
b.Property<string>("Roles")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<DateTime?>("StartDate")
.HasColumnType("datetime(6)");
b.Property<string>("Status")
.HasMaxLength(20)
.HasColumnType("varchar(20)");
b.Property<string>("TechnologiesUsed")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.HasKey("ProjectId");
b.HasIndex("ResumeId");
b.ToTable("Projects");
});
modelBuilder.Entity("PortBlog.API.Entities.Resume", b =>
{
b.Property<int>("ResumeId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("ResumeId"));
b.Property<string>("About")
.IsRequired()
.HasMaxLength(1000)
.HasColumnType("varchar(1000)");
b.Property<int>("CandidateId")
.HasColumnType("int");
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<int>("Order")
.HasColumnType("int");
b.Property<string>("Title")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.HasKey("ResumeId");
b.HasIndex("CandidateId");
b.ToTable("Resumes");
});
modelBuilder.Entity("PortBlog.API.Entities.ResumeFile", b =>
{
b.Property<int>("FileId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("FileId"));
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("FileFormat")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
b.Property<string>("FileName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("FilePath")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar(100)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<int>("ResumeId")
.HasColumnType("int");
b.Property<string>("Version")
.HasMaxLength(10)
.HasColumnType("varchar(10)");
b.HasKey("FileId");
b.HasIndex("ResumeId")
.IsUnique();
b.ToTable("Files");
});
modelBuilder.Entity("PortBlog.API.Entities.Skill", b =>
{
b.Property<int>("SkillId")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("SkillId"));
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Description")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar(50)");
b.Property<int>("ProficiencyLevel")
.HasColumnType("int");
b.Property<int>("ResumeId")
.HasColumnType("int");
b.HasKey("SkillId");
b.HasIndex("ResumeId");
b.ToTable("Skills");
});
modelBuilder.Entity("PortBlog.API.Entities.SocialLinks", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
b.Property<string>("BlogUrl")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("CreatedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("CreatedDate")
.HasColumnType("datetime(6)");
b.Property<string>("Facebook")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("GitHub")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("Instagram")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("Linkedin")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<string>("ModifiedBy")
.HasColumnType("longtext");
b.Property<DateTime?>("ModifiedDate")
.HasColumnType("datetime(6)");
b.Property<string>("PersonalWebsite")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.Property<int>("ResumeId")
.HasColumnType("int");
b.Property<string>("Twitter")
.HasMaxLength(200)
.HasColumnType("varchar(200)");
b.HasKey("Id");
b.HasIndex("BlogUrl");
b.HasIndex("ResumeId")
.IsUnique();
b.ToTable("SocialLinks");
});
modelBuilder.Entity("PortBlog.API.Entities.Academic", b =>
{
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
.WithMany("Academics")
.HasForeignKey("ResumeId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Resume");
});
modelBuilder.Entity("PortBlog.API.Entities.Certification", b =>
{
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
.WithMany("Certifications")
.HasForeignKey("ResumeId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Resume");
});
modelBuilder.Entity("PortBlog.API.Entities.Experience", b =>
{
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
.WithMany("Experiences")
.HasForeignKey("ResumeId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Resume");
});
modelBuilder.Entity("PortBlog.API.Entities.ExperienceDetails", b =>
{
b.HasOne("PortBlog.API.Entities.Experience", "Experience")
.WithMany("Details")
.HasForeignKey("ExperienceId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Experience");
});
modelBuilder.Entity("PortBlog.API.Entities.Hobby", b =>
{
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
.WithMany("Hobbys")
.HasForeignKey("ResumeId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Resume");
});
modelBuilder.Entity("PortBlog.API.Entities.MessageStatusLog", b =>
{
b.HasOne("PortBlog.API.Entities.Message", "Message")
.WithMany()
.HasForeignKey("MessageId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Message");
});
modelBuilder.Entity("PortBlog.API.Entities.Post", b =>
{
b.HasOne("PortBlog.API.Entities.Blog", "Blog")
.WithMany("Posts")
.HasForeignKey("BlogUrl")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Blog");
});
modelBuilder.Entity("PortBlog.API.Entities.Project", b =>
{
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
.WithMany("Projects")
.HasForeignKey("ResumeId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Resume");
});
modelBuilder.Entity("PortBlog.API.Entities.Resume", b =>
{
b.HasOne("PortBlog.API.Entities.Candidate", "Candidate")
.WithMany("Resumes")
.HasForeignKey("CandidateId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Candidate");
});
modelBuilder.Entity("PortBlog.API.Entities.ResumeFile", b =>
{
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
.WithOne("ResumeFile")
.HasForeignKey("PortBlog.API.Entities.ResumeFile", "ResumeId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Resume");
});
modelBuilder.Entity("PortBlog.API.Entities.Skill", b =>
{
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
.WithMany("Skills")
.HasForeignKey("ResumeId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Resume");
});
modelBuilder.Entity("PortBlog.API.Entities.SocialLinks", b =>
{
b.HasOne("PortBlog.API.Entities.Blog", "Blog")
.WithMany()
.HasForeignKey("BlogUrl");
b.HasOne("PortBlog.API.Entities.Resume", "Resume")
.WithOne("SocialLinks")
.HasForeignKey("PortBlog.API.Entities.SocialLinks", "ResumeId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.Navigation("Blog");
b.Navigation("Resume");
});
modelBuilder.Entity("PortBlog.API.Entities.Blog", b =>
{
b.Navigation("Posts");
});
modelBuilder.Entity("PortBlog.API.Entities.Candidate", b =>
{
b.Navigation("Resumes");
});
modelBuilder.Entity("PortBlog.API.Entities.Experience", b =>
{
b.Navigation("Details");
});
modelBuilder.Entity("PortBlog.API.Entities.Resume", b =>
{
b.Navigation("Academics");
b.Navigation("Certifications");
b.Navigation("Experiences");
b.Navigation("Hobbys");
b.Navigation("Projects");
b.Navigation("ResumeFile");
b.Navigation("Skills");
b.Navigation("SocialLinks");
});
#pragma warning restore 612, 618
}
}
}