Do I need to compile linq queries in subsonic?

I would like to know if linq queries need to be compiled for subsonic objects?

For example, would I need to compile the following linq query?

var comments = from a in All()
                           where a.ParentCommentId == ArticleCommentId
                           select a;

      

+2


source to share


1 answer


Compiled queries are an additional optimization that avoids parsing the expression tree multiple times. This has never been required, but may be required to meet your performance requirements.



+1


source







All Articles