HI,
When I want to get the LanguageDescription with TFetchMode.Eager, I don't have the columns of TLanguageDescription
Code:
Mng.Find<TLanguage>Sql Script:
.CreateAlias('LanguageDescriptions', 'B', TFetchMode.Eager)
.Where(Linq['B.LanguageDescription'] = 'Nederlands')
.List;
SELECT A.ID AS A_ID, A.Locked AS A_Locked, A.LanguageCodeShort AS A_LanguageCodeShort, A.InUse AS A_InUse, A.LanguageCodeLong AS A_LanguageCodeLong, A.RowVersion AS A_RowVersionNow I get the fields on Lazy load, but I want to force this with the eager mode.
FROM Languages A
LEFT JOIN LanguageDescriptions B ON (B.LanguageId = A.ID)
WHERE B.LanguageDescription = :p_0
p_0 = "Nederlands" (ftString)
--> No columns of LanguageDescriptions B. Why? How Can I have the fields of LanguageDescriptions
How to do that?
Regards