Hi.
I'm new to FluentNHibernate / NHibernate, and I would like to ask you
guys a question about mapping complex (or deep) inheritance
situations.
The class hierarchy I have is the following:
class Asset : EntityBase
{
// ...
}
class Fund : Asset
{
// ...
}
class EquityFund : Fund
{
// ...
}
class FixedIncomeFund : Fund
{
//
}
class Trade : EntityBase
{
public Asset Asset { get; set; }
}
I would like to use the "AutoMap" feature, but NHibernate keep telling
me that the class "Fund" is being duplicated in the mappings.
What am I missing?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---