This question is locked. New answers and comments are not allowed.
In the designer I've mapped a class with a many to one relationship to another class. When fetching the object the related object is loaded just fine. I also mapped the related id field to a property in the class, but that field never gets filled when loading the object.
Is there some reason the same table field cannot be used twice, or am I doing something wrong?