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 you will get a run-time error while using NHibernate. The error is NHibernate.PropertyNotFoundException: Could not find field '_fieldNameHere' in class 'ClassNameHere'
Hope this helps someone else. I know I spent about 10 minutes trying to figure out what I did wrong.
Till next time,
01-31-2008 8:25 AM