Currently we have certain conventions such as
AutoMap.AssemblyOf<User>(new AutoMapConvention())
.Conventions.Add(DefaultLazy.Always())
Can we also have something like
.Conventions.ImportType<SomeBaseType>()? or SomeBaseInterface
I've looked at Arthur way of doing this
http://groups.google.com/group/fluent-nhibernate/browse_thread/thread/47f2d046fb3a8435/c6905735945e22bb?hl=en&lnk=gst&q=importtype%3CT%3E#c6905735945e22bb
Which use a custom IMapping then we can use reflection to import them.
It work but it's not really clean... So I think it would be nice to
have this kind of functionality baked directly into fluent...
Thought?
--
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.