I was trying to profile some NHibernate sql to see if we could make some improvements. One thing I noticed very shortly after starting this task was that one of my columns was being duplicated. Now this is NOT going to make a huge performance difference but was something I wanted to...
When you are setting up your NHibernate mappings you must pay close attention to the way you setup your relationships between your entities. Recently I started profiling some of our statements and was shocked to see how some of them had a metric-crap ton of joins when they only needed one or two...
Today as I was creating a new NHibernate Criteria statement everything was working fine UNTIL I added the where clause. At this point I started to get the following exception (which was seen via NHibernate Profier ). WARN: System.Data.SqlClient.SqlException: The multi-part identifier "doc2_...
I’m a big fan of Linq. The more I learn about functional programming, the more I love (and use) Linq. However with any higher level abstraction there is the possibility of the mysterious inner workings differing from your intuitive expectations. (This one of the dangers of frameworks being ‘too helpful...
(Update: Added the code to initialize Castle Windsor as well) I've known about LINQPad for a long time but for some reason the usefulness of it just hit me yesterday. In a moment of clarity I plopped my money down for all the bells and whistles and started playing. I watched the video on the LINQPad...
Posted to
Alan Northam
by
anortham
on 12-17-2009
Filed under: NHibernate, Sharp Architecture, LINQPad