I have two tables in my database.This tables has two "one to many" relation. Example:
Table Name -Id -Name
Table Product -Id -Name (References Table Name, mapped with "one-to-many") -Subname (References Table Name, mapped with "one-to-many")
When i do a select in product, the framework is not loading the Name object to the properties Name and Subname of Product. If I map only the property Name of Product, it's work. But if i map the two properties, it's not work.
I'm using ActiveRecord, but i think this problem is occurring in NHibernate layer.
Sorry for the badly english.
|