Cascade delete is supposed to be the default in EF Core, right? So why am I getting this foreign key error?
SqlException: The DELETE statement conflicted with the REFERENCE constraint "FK_Tile_Game_GameID"
I'm trying to delete a game and all its associated tiles, but instead I get this error - isn't cascade delete supposed to be on by default? If not, how do I enable it?
0 comments:
Post a Comment