Entity Framework 4 - Delete Object
- by GibboK
I have 3 Tables in my DataBase
CmsMasterPages
CmsMasterPagesAdvSlots (Pure Juction Table)
CmsAdvSlots
Here a Picture of my EDM:
I need find out all objects CmsAdvSlot connected with a CmsMasterPage (it is working in my code posted belove),
and DELETE the result (CmsAdvSlot) from the DataBase.
My Problem is I am not able to DELETE this…