Is it a good idea to also set a corresponding cascading delete rule in the
DB, if the database supports it?
On 2/8/06 Mike Kienenberger <mkienen..mail.com> wrote:
> 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
This archive was generated by hypermail 2.0.0 : Fri Feb 10 2006 - 12:54:34 EST