I have simple entity:
public class Hall { [Key] public int Id {get; set;} public string Name [get; set;} }
Then in the S
S
You could have also done this:
context.Halls.AddOrUpdate(new Hall[]{hall1,hall2, hall3});