Skip to main content

Posts

Showing posts from April, 2010

Delete Actions

Sometimes its rare to have all the information about DELETE actions on the table and we read books and google it. This post will really helpful in describing how to create delete actions on tables and which Delete action should be used and when? There are two purposes to define the delete actions on the table level; § Restrict the deletion of a record based on related records in another table § Cascade the deletion of a record to related tables to ensure data-consistency How can I add delete actions in table? Delete actions are added in the AOT, by right-clicking on the DeleteActions node of a Table AOT element. Select New DeleteAction and then select the table on which this delete action will be based. There are three different types of delete actions 1. Cascade 2. Restricted 3. Cascade + Restricted What are the basic types of Delete action? Cascade A cascading deletion action will delete all records in the related table, where the...