IT:AD:EF/CodeFirst/FluentAPI/Relationships/Examples/1-1 (One-To-One)

Summary

UserAddressreferences11

Process

 //1-1:
        modelBuilder.Entity<User>()
            .HasRequired(i => i.BillingAddress)
            .WithMany(); //1-0: as it can be shared with User, don't bind Invoice and Address, so avoid .WithRequired