Hi,

I have a relationship like:

A -> B with a one to one map between the two. I have set
cascade=all-delete-orphan in A for the one-to-one but when I say:

A.B = null;
Save(A);


The orphaned B is not deleted, I also tried

A.B.A = null;
A.B = null;
Save(A)


But with no happiness anyone got any suggestions for me :)


Cheers

-- 
Stefan Sedich
Software Developer
http://weblogs.asp.net/stefansedich

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to