ТАБЛИЦЫ:
Shop
Product
Category
ВЗАИМООТНОШЕНИЯ:
(Shop) 1 <---> n (Categories)
(Shop) 1 <---> n (Products)
(Categories) n <---> n (Products)
КАСКАД УДАЛЯЕТ:
Shop ---> Categories ... I defined this using fluent API
Shop ---> Products ... I defined this using fluent API
Categories <---> Products ... EF 4.1 automatically defines cascade for "Category_Product" join table
ПРОБЛЕМУ: Above results in a "multiple" cascade deletion path exception.
POTENTIAL FIXES:
How are you folks dealing with this problem?
THANKS