View Full Version : Model One to Many Relation

dinesh kumar
4 Sep 2011, 10:58 PM

I have a model 'User' is associated with a model 'Product'. (has one to many relation ship).

if i remove a user from User store then the corresponding products will also be deleted from Product Store.

how to do it.