Page 1 of 1

Cascade Delete Child objects

Posted: Fri 28 Nov 2008 12:22
by Co
How do i cascade delete child items?(EF provider for Oracle) Do i really have to delete al child items seperately? Is there a way to force the wanted behaviour?

Posted: Mon 01 Dec 2008 12:57
by jeroent
In the CSDL part of the EDMX file (use the xml editor to open the file)
you have defined associations between your entities
Here you can define a delete on cascade.

Example

Code: Select all