Using the Join method?
Join("Address", m =>
{
m.Map(x => x.Address);
});
On Wed, Aug 19, 2009 at 10:53 AM, Sachin <[email protected]> wrote:
>
> Hi
> How can I implement new feature introduced in NH 2.1 where in I can
> map columns of different tables into one entity, using FNH.
> using NH mapping files I can specify it using
>
> <join table="ADDRESS">
> <key column="ADDRESS_ID"/>
> <property name="address"/>
> <property name="zip"/>
> <property name="country"/>
> </join>
>
> Any suggestions.
>
> Thanks
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---