I believe you can set your delete rule to "cascade" and it'll do what
you're asking.
http://www.objectstyle.org/cayenne/modelerguide/modeling-object-layer/delete-rules.html
On 2/8/06, Dhruti Ramani <dhrutiraman..ahoo.com> wrote:
> Hi,
>
> I have two objects DoList and DoListOption. And 1 to M relation between
> them. DoList object has many DoListOptions. If I remove particular DoList,
> is there a way to remove associated DoListItems automatically? Is there any
> option to set in modeler for that? What is best way to do this?
>
> Thanks,
> Denna
>
> ________________________________
> Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
>
>
This archive was generated by hypermail 2.0.0 : Wed Feb 08 2006 - 13:09:25 EST