Cascade Delete Child objects

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
Co
Posts: 15
Joined: Fri 28 Nov 2008 10:59

Cascade Delete Child objects

Post by Co » Fri 28 Nov 2008 12:22

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?

jeroent
Posts: 12
Joined: Tue 25 Nov 2008 13:41

Post by jeroent » Mon 01 Dec 2008 12:57

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

  
  
     
  

Post Reply