I have simple entity:
public class Hall { [Key] public int Id {get; set;} public string Name [get; set;} }
Then in the S
S
If object(hall)'s id is 0, it is a insertion. I think you need to double check the id field of your hall objects