-
Notifications
You must be signed in to change notification settings - Fork 795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get data in Row.cs from third table #3942
Comments
Hi @ga5tan , just try it. In your case it would be on the UserId foreign field within the xyzRow (the row where your [DisplayName("Registrant ID")...] declaration is). Just do again the foreignKey(typeof(<your3rdTable>)), LeftJoin("j<Your3rdTableNickname>"); I had done this long - long ago - and it had worked as I remember. And then declare the 3rdTable's desired fields like you did for fields from the 2nd table but refer to j<Your3rdTableNickname> instead of the 2nd table's nickname. With kind regards, John |
thx @JohnRanger , it worked.
this is from third table:
|
I have the same problem. Could you post the complete Row file? |
It is possible to lookup data in row from Left Join table like this:
[DisplayName("Registrant ID"), Column("RegistrantID"), NotNull, ForeignKey(typeof(UsersRow)), LeftJoin("jRegistrant")]
but I need to make left join on left joined column, ie add third table, which entity is referenced in second (leftJoined) table.
any idea if that's possible?
The text was updated successfully, but these errors were encountered: