So here's my scenario

I created a new class that I want mapped (via IUserType). Pretty standard stuff.

Now the problem is - we're using automapping and the first thing I did was to create an IPropertyConvention implemented like:

if(instance.Type == myType)
{
   instance.CustomType<MyUserType>();
}


that doesn't work. FluentNHibernate's convention seems to be treating myType as an association and therefore my convention never gets hit.

It does work if I create an automapping override, but as you can imagine that's less than perfect, being forced to create override for every property that uses my new type.

Is there a way around it? If not, Perhaps that's something that could be added in the future...

cheers,
K


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

Reply via email to