How to access this column in the Details table at runtime since it is not visible in design time? I see that the column ActionID exists in the database.
Unfortunately I didn't understand your question.
If you are asking about TAureliusDataset, here is how to access detail records in a many-valued association:
The field ItemID is created in the Files table. My question is how to access this field? In particular, I need to get ItemID for a given Id inside the TFile class.
Something like this doesn't work:
Result := FManager.Find<TItem>
.Where(FDic.ID = FActionID)
.List;
You have to map the association as bidirectional, creating the other side of the association in the TFile class. There you create a Item: TItem association mapping and in the ManyValuedAssociation you modify it to point to that association: