Posts Categorized: nHibernate

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 […]