-
At work I have a section of code which I need to eager load all my data in order to pass that data back across the wire. I thought I had it all setup correctly, but then I realized that I was not returning back unique results from my query. Imagine I have the following Schema My current need was...
-
One exception you may run across while using Fluent Nhibernate (or straight up NHibernate) is System.Data.SqlClient.SqlException: Invalid column name ‘……’. This is normally caused because you did not provide the correct column name when doing your mapping. Lets take a look at the code below which...
-
Just an FYI. If you are using NHibernate and have objects that are using the new Automatic Properties feature of .Net 3.5 make sure that your NHibernate .hbm file does not have 'default-access="field.camelcase-underscore"' in the hibernate-mapping node. If you have this attribute set...