I highly recommend using reverse engineering.
The dbcontext is created for you correctly with all relationships.