Hi Team,
I have a mapping like below. And Job has 'Department' as property.
References(x => x.Job)
.Column(tableMeta.Job_id)
.Not.LazyLoad().Inverse()
.Cascade.None();
Query as:
empIds - input integer ids
var jobs = _session.Query<TAggregate>() .Where(e =>
empIds.Contains(e.EmployeeID))
.ToList());
var depts = jobs.Departments.
here departments coming as null. Because there is no eagar loading
happenings.
How my mappings should be in order to generate left outer join for other
entities we used in the property.
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nhusers/6d59886b-df54-45a7-a49a-bc90b4d95c8en%40googlegroups.com.