Hello there !
I have trouble referencing some object to my entity by two conditions
in the join .
So if i have this sql -
select * from t1 left join t2
on t1.col1 = t2.col1
and t1.col2 = t2.col2
It's getting me a HasOne relationship - it's a unique answer for each
record from t1 .
So , in mapping of the t1 entity , i'm mapping it in this manner -
References(x => x.t2Object).Colummns("Col1", "Col2").PropertyRef(d
=> d.Col1).PropertyRef(d => d.Col2).Fetch.Join();
as I understand it , I've givven the FNH the columns that I want to
reffer to , and reference mapping by order of the join .
Is there any way to do it?
I'm working with FNH # 164 .
--
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.