Encapsulating repository queries

design patterns    domain driven design    linq to sql    nhibernate
I've moved away from putting query (eg GetCondition / FindCondition) o n my repositories. Now I create queries objects for each would be method. Why?

When to use Response.CreateResponse versus HttpResponseException with Web Api

Web Api    nhibernate
You need to use throw HttpResponseException if you're returning a HTTP error status code if you want Transactions to roll back.

Auditing with Nhibernate

nhibernate
The difference between nhibernate and linq2sql when it comes to auditing

FluentNhibernate Reveal.Member method

nhibernate
Getting an error when trying to map a private reference? Well look here.