Monthly Archives:: November 2010

Digital Distractions

Posted by & filed under Online Life.

I haven’t really been one for writing opinionated blog posts. As you can see from my feed, most are written purely as techie tips, coding examples or “how tos”. I found an article tonight however that got me thinking. It’s an article from the New York Times (full article) about the many distractions that young […]

nHibernate Replace Column Value

Posted by & filed under nHibernate, SQL Server.

As I’ve been learning nHibernate there have been certain queries that I’ve been struggling to replicate in nHibernate and google has not been my friend. One of those queries was trying to replicate the replace sql function so that I could strip out spaces from a postcode for comparison search, but after searching and tweaking […]

nHibernate “not in” join table query

Posted by & filed under nHibernate, SQL Server.

I’ve recently been working on a project where it was a client’s requirement that we use nHibernate as the data access layer. Although I wasn’t keen at first, I actually quite like the control you have over the domain model. It also worked extremely well with WCF contracts, simply by adding DataMember decoration to the […]