I have the following code.
private void SeedModule(CentralConfigModel context)
{
context.ModuleTypes.AddOrUpdate(
m => m.Name,
new DomainModel.ModuleType() { Id = 100, Name = "Device" },
}
How can I set to force automatic migrations to set Id in newly added record for value 100?