EF6 MVC5 and Visual Studio 2017 Code First Database
I am working on EF6 with MVC5.
The solution is a job manager application.
Here are the data classes
The relations need to be as follows:
Job to Contract is 1 to 1
Contract to RecruitingCompany is 1 to 1
RecruitingCompany to Contract is 1 to Many
RecruitingCompany to RecruiterContact is 1 to Many
So, I will speak to a reqruiter, potentially add the recruiter to the recruiter company or just add to an existing in the DB recruiter company. The reqruiter gets the contract and the contract is tied to the job. I think this models the process, but how to build the classes such that EF will build the database/tables/keys/foreign keys and then bootstrapping with some test data is my challenge.
Any suggestions for the data/entity classes and the subsequent bootstrap data would be appreciated.