I have an Entity named Items, then I have several entities that have a foreign key (NOT NULLABLE) to this table key ItemId.
Then I have another table named Soldiers that depends also on Items, but in this case it's a (NULLABLE) foreign key.
When I delete an item on the Items table I get an error regarding items that exist on the Soldiers table. If I don't have Soldiers with items I don't get the error, and all the other tables are correctly cascade deleted.
I guess I have to put something on the Fluent API to cascade delete also on this table, but I am not sure how to do it.
Thanks