Serhan Eroğlu

Cascade Delete Property for Link

Posted by: eserhan on: October 31, 2009

This property is to clear the relation or unmapped child date to be removed from the DB. Cascade Delete has 3 types of values. 1) None 2) Clear 3) Delete

1) None: When we are deleting the Parent record if we don’t want to untouch the child record we will set the property as “None” for the Cascade Delete.

2) Clear: If this property selected the relation ship b/w the parent and the child will be cleared but the child record will not be deleted. This will be useful when the child is the part of any other join.

3) Delete: This will delete the child record along with the parent record.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.