RadControls version
|
2009.2.826.20
|
Telerik OpenAccess ORM version
|
2010.1.414.3
|
.NET version |
3.5
|
Visual Studio version |
2008
|
programming language |
C#
|
browser support |
all browsers supported by RadControls
|
PROJECT DESCRIPTION
This example demonstrates how you can achieve to delete hierarchy of object s(ones that are in parent-child relations) with Telerik OpenAccess ORM. The same functionality is also known as cascading delete.
. The zip file contains 2 projects:
- Model(NorthWind);
- Website(UI);
Requirements:
Northwind database.
Cascading deletes are not specified by default. They are only available for references that are marked as dependent.
You will find two web pages in the website project:
1. Default.aspx.
This page is focused only on the deletion process. It illustrates how exactly the depend attribute is used in order to achieve cascading delete. The example is intentionally containing only the delete function in order to keep the code clean and straight forward.
2. Crud.aspx
The crud.aspx page provides some additional crud functionality(Insert, Update) to the already defined cascading delete in the default.aspx page (though those Crud operations do not have direct impact over the cascading delete).
If you would like to observe only the cascading delete than you should set the default.aspx page as your starting page. If you want to see the complete example (including all CRUD operations) then you should use the crud.aspx page as your default one.
UPDATE:The most recent version of this project can be found in the Software Development Kit, which you can download
here. In case you have questions related to this project, please use the
support ticketing system.