I\'m writing a seed method using EntityFramework.Core 7.0.0-rc1-final.
What happened to the AddOrUpdate method of DbSet?
There is an extension method Upsert.
context.Upsert(new Role { Name = "Employee", NormalizedName = "employee" }) .On(r => new { r.Name }) .Run();
On Github