I am trying to seed a development database with some test data.
I have used context.People.AddOrUpdate(p => p.Id, people)); with much success.
context.People.AddOrUpdate(p => p.Id, people));
If you got Only primitive types or enumeration types are supported in this context. because of using navigation property - consider adding foreign key property directly to the entity (maybe only with getter) and use it as Ladislav Mrnka proposed.
Only primitive types or enumeration types are supported in this context.