Posts by iganja • 11 points
1 post
-
1
votes2
answers1613
viewsA: Can cause cycles or multiple paths to cascade. Specify ON DELETE NO ACTION or ON UPDATE NO ACTION, or modify other FOREIGN KEY restrictions
In this case, I believe that the correct one is to use the code below in the override function "Onmodelcreating", inside its class that inherits from Dbcontext:…