Querying by Taxonomy Term

Topics: General
Jan 16, 2015 at 3:55 PM
Edited Jan 16, 2015 at 3:57 PM
Here's my current problem: I'd like to be able to query by a taxonomy term and have the query return both content items to which that taxonomy term has been applied as a field, AS WELL AS the taxonomy term itself.

I can use the existing code that's in TaxonomyService to query by TermsPartRecord, but I can't figure out how to combine that with something that queries TermPartRecord to get the taxonomy term itself.

Can this be done with good old IContentQuery or will I need to go deeper into HQL?

Thanks for any advice.