Join j = new Join();
            Property prop=new Property();
            NHibernate.Mapping.Table tb=new Table("A");
            prop.Name = "Name";
            j.Table = tb;
            j.AddProperty(prop);

I am using S#arp architecture and I am defining the mappings in
override method of
FluentNHibernate.AutoMap.Alterations.IAutoMappingOverride<>

I can not find any Join method in the API, I am using 1.0.0

after reading your last post I guess answer to my question is
WithTable as I am using 1.0.* version



On Aug 19, 4:50 pm, James Gregory <[email protected]> wrote:
> WithTable is what it was called prior to 1.0, it's now just called Join;
> same signature, different name.
>
> On Wed, Aug 19, 2009 at 12:48 PM, Brendan Erwin 
> <[email protected]>wrote:
>
>
>
> > Hmm. I was going to say "WithTable". What's the difference?
>
> > Sent from my iPhone
>
> > On Aug 19, 2009, at 6:28 AM, James Gregory <[email protected]>
> > wrote:
>
> > Using the Join method?
> > Join("Address", m =>
> > {
> >   m.Map(x => x.Address);
> > });
>
> > On Wed, Aug 19, 2009 at 10:53 AM, Sachin < <[email protected]>
> > [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- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to