AI OnAI Off
I have understood based on a separate discussion that finding comments that in turn have at least one comment was not the actual goal.
However. the exception thrown based on the query above has been reported as a bug for further investigation.
Using the latest and greatest episerver cms 6 r2 with episerver community 4.
Are using the circuit dynamic datastore/entity thingy to comment on pages.
Now I want the most commented once.
Simple Query throws exception: -InnerException{"could not resolve property: NumComments of: EPiServer.Common.Comments.Comment [SELECT EPiServerCommonCommentsComment FROM EPiServer.Common.Comments.Comment AS EPiServerCommonCommentsComment WHERE ((EPiServerCommonCommentsComment.NumComments > :p0)) ]"}System.Exception {NHibernate.QueryException}
Code:
var query = new CommentQuery();
Please advise :-)