title: Using a table display method in a query or view
body: <p>I'm trying to make a query against the table HcmWorker and related.
  But i want to figure out how to get the result of the display method HcmWorker.primaryDepartmentName() into it's own field in my query.</p>
  
  <p>I also tried creating a view to execute the function via a ViewMethod but that doesn't seem to work as ViewMethods only inject code into the final query against the view.</p>
  
  <p>I'm NOT making a form. The end result has to come through the QueryService.</p>