I have two tables, Country and Capital, and I have established the main key for Capital as a foreign key that refers to the key for Country. However, the model is 1 to 0..1 when I use Entity Framework database-first.
In SQL Server, how do you establish a one-to-one relationship?