Following the documentation for Dynamic lists:
ResultsetFields fields = new ResultsetFields(1);
fields.DefineField(EmployeeFields.FirstName, 0, "FirstNameManager", "Manager");
It seems strange to have column and table names as strings in my code so I can replace the "FirstNameManager" with:
ManagerFields.FirstName.Name
Is there anyway I can get the table name dynamically?