I have table Employer
and EmployerParam
. Almost needless to say 1 Employer
has 1 to many EmployeeParams
. I want that every time an Employee
is loaded, its EmployeeParams
are included, i.e. eager-loaded.
The only other was I can think of is using a repository method, but that can always be bypassed and the Employer
loaded without Params.