Use the <entityname>Relations object returned from the static Relations property of an entity type, and then the properties of that object, which return a relation object. Relation traversal requires data to use to find back a relation, and that's often achieved best with code generation, so generate code from the relations of an entity and use that generated code to traverse the relations at runtime.