multiple “1 to 0..1” relationship models
问题 I am using this tutorial from microsoft to create a one-zero-to-one relationship with EF4.1 Between an Instructor and OfficeAssignment. This is working like a charm. But now I want to add a Home for each Instructor (1 to zero-or-1) like in this: I added the Home model exactly the same way as the OfficeAssignment (like in the tutorial above), but when I try to add controllers for these model, I get the error "An item with the same name has already been added". So my model is set up incorrectly