I'm running into a bit of a weird one. It appears that running a query like this:
public DocumentQuery<TDocument> GetDocumentsByTagAndCategory<TDocument>(string category, string tag, string tagGroup) where TDocument : TreeNode, new()
Forces the query into an "OR" operator. I'm looking for a way to filter down by tag AND category, as in BOTH have to match. Anyone have any thoughts or have done this before?
Did you try to explicitly add the .And() in between? Not 100% sure if that works with these...
Not sure if you did but you can also use .GetFullQueryText() on the query to see what it actually send to the DB.
Please, sign in to be able to submit a new answer.