Wednesday, 15 April 2009
NHibernate tips
Here is a collection of things I keep forgetting with NH:
Getting any old client for testing :
var client = session.CreateQuery("select from Client")
.SetMaxResults(1)
.UniqueResult();
Subscribe to:
Posts (Atom)