Mapping a view without a unique id column
I see here http://support.fluentnhibernate.org/discussions/help/116-mapping-a-... that this issue was fixed in master but I am not sure what the fix is nor how to make use of it.
Could I get a little bit of an explanation as to what the fix was or where it is in source \ tests?
2 Posted by Travis on 28 May, 2010 10:03 PM
Id(x => x.Id).GeneratedBy.Increment();
3 Posted by Travis on 28 May, 2010 10:10 PM
My tests are not conclusive, but I think I spoke to soon. I am unable to get this to work, NH is still looking for a column "Id" in my case.
4 Posted by yonah on 28 May, 2010 11:03 PM
I am confused. I thought this was a way to map without an Id column.
I really would like to map a list of components (value objects) which inherently don't have an Idetifier.
-----Original Message-----
From: Travis [mailto:tender+db3d8ff24302e983effbbcc576982b38b568b5988@tenderapp.com]
Sent: Friday, May 28, 2010 6:15 PM
To: yonah@wahrhaftig.net
Subject: Re: Mapping a view without a unique id column [Help and guidance]
5 Posted by Wyass on 29 May, 2010 11:01 AM
I'm also confused, see here...
http://stackoverflow.com/questions/2920378/fluent-nhibernate-fetchi...