Nick, I managed a workaround (described earlier) with derived classes
and table-per-class-hierarachy strategy. Component wouldn't work
AFAIK, as there is a collection of "value" types stored (collection of
rates).

rgds,
 Miha.

On Aug 20, 4:20 pm, Nick Webb <nwe...@gmail.com> wrote:
> Nhibernate cannot support structs.  It could never validate the proxy class
> it's trying to map to it, as it would get a new instance of struct every
> time it compared the two.
>
> Unless I've missed something, your best option is a simple class mapped as a
> component.

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibern...@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.

Reply via email to