Click here to Skip to main content
15,868,440 members
Articles / Web Development / ASP.NET

How to Cascade Delete an Adjacency List Model in SQL in C#

Rate me:
Please Sign up or sign in to vote.
4.33/5 (2 votes)
14 Oct 2013CPOL2 min read 13K   2  
Demonstrates how to cascade delete on a single table that maintains hierarchy by a ParentId that points to the primary key of the same table

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
Mike is a web developer for a leading oil and gas company in Oklahoma. He's been writing .NET apps for 4 years and has expertise in ASP.NET with MVC.

Comments and Discussions