Category Archives: Syntax

BindingList Extensions


So when working with binding lists you often have a scenario where you have to update the list you have with the list from the database. If you want to make sure that the selections that a user may have … Continue reading

Posted in C#, Syntax | Tagged , | Leave a comment

Copying hierarchical data in SQL server


I ran into a problem recently what required me to transverse a hierarchy and create a deep copy of the data in the tables. Expecting this to be a solved problem I turned to Google and was met by cursors. … Continue reading

Posted in SQL, Syntax, Uncategorized | Leave a comment

Some syntactic sugar around locking & threading


One of the things that make debugging threading easier is to reduce the amount of code that you are debugging. This makes syntactic sugar actually quite important when it comes to this problem space. The lock keyword and sections are … Continue reading

Posted in C#, Syntax | Tagged , , | Leave a comment