Skip to Content
1
Former Member
Jul 07, 2015 at 02:12 PM

How to delete data of different types which are having relation?

188 Views

Hi,

I have 3 item types, lets say typeA, typeB, typeC. the relation between typeA- typeB is 1:n, the relation between typeB- typeC is 1:n. Now my requirement is to delete one instance(entry) of typeA along with that associated(via A-B relation) typeB instances and associated(via B-C relation) typeC instances.

However when i delete instances of typeA underlying typeB and typeC are not getting deleted. Please suggest how should i proceed.

Thanks, Sree