I want to seed the tables with values, now the problem is that am not sure how to add the foreign key from one table to another.City has a foriegn key pointing to the District Id.The District field inside City expects a District\[code\] context.Districts.AddOrUpdate(c => c.Name, new District() { Name = "Beirut" }, new District() { Name = "Beqaa" }, new District() { Name = "Mount Lebanon" }, new District() { Name = "Nabatiye" }, new District() { Name = "North" }, new District() { Name = "South" } ); context.Cities.AddOrUpdate(c => c.Name, new City() { Name = "Aley",District = }, new City() { Name = "Baabda",District = }, new City() { Name = "Matn", District = }, new City() { Name = "Tripoly" ,District = }\[/code\]