It's just a matter of taste. I use imported type to pass some query results to the reporting part of my application. This import type (eg. MaintenanceCompanyStatistics) is logically connected to an entity (MaintenanceCompany) which is a subclass (of Company).
Now the import type is mapped in Company as you suggested, however it would be more practical to map as part of MaintananceCompany. Andras On Dec 9, 10:14 am, James Gregory <[email protected]> wrote: > Could you explain why you need to use ImportType from a SubclassMap > rather than a ClassMap? -- 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.
