How can I change the default join type to be an inner join instead of a left outer join for mappings when I use References?
For Example:
public class SomeClassMap : ClassMap<SomeClass>
{
public SomeClassMap()
{
Id(x => Id);
References(x => x.Account);
}
}
this usually turns out to be something like this...
FROM SomeClass SC
LEFT OUTER JOIN Account A
ON SC.Id = A.Id
I'd like to have this be an inner join instead of a left outer join. Any thoughts?