Hi All:
I am new to this group so apologies if this has already been answered (I have had a good look). I am having a look at sharp architecture for a project I'm soon to start out on.
I am experimenting with the Northwind sample, and wanted to test a self referential relationship, but discovered Fluent NHibernate 1.1 was needed (see http://support.fluentnhibernate.org/discussions/help/127-parentchild-...).
So I recompiled with version 1.1 of fluent and ran into a couple of problems with the Employee class. The first error was along the lines of FullName needs a get. I solved this with mapping.IgnoreProperty(x => x.FullName); in the EmployeeMap class.
The next issue I haven't managed to solve: Invalid column name 'Id'. I can see from the test output that NHibernate is trying to do "SELECT top 0 this_.Id " etc. However the EmployeeMap class maps it to EmployeeID, so would expect to see "SELECT top 0 this_.EmployeeID "
mapping.Id(x => x.Id, "EmployeeID")
.UnsavedValue(0)
.GeneratedBy.Identity();
Any ideas?
Thanks ... Rich