Fluent NHibernate View Mapping requires Id Column
- by Matt
Hi
Trying to use FNH to map a view - FNH insists on having a Id property mapped. However not all of my views have a unique identifing column.
I can get around this with XML mappings as I can just specify a
<id type="int">
<generator class="increment"/>
</id>
at the top of the mapping.
Is there any way to duplicate this in FNH...?
TIA
Matt