Skip to content

Commit

Permalink
Fix typo (#3154)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgrevil committed Mar 13, 2021
1 parent e31f3c3 commit 3040893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entity-framework/core/saving/cascade-delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ There are two options to avoid this referential constraint violation:
1. Set the FK values to null
2. Also delete the dependent/child entities

The first option in only valid for optional relationships where the foreign key property (and the database column to which it is mapped) must be nullable.
The first option is only valid for optional relationships where the foreign key property (and the database column to which it is mapped) must be nullable.

The second option is valid for any kind of relationship and is known as "cascade delete".

Expand Down

0 comments on commit 3040893

Please sign in to comment.