wish help you to fix your issue When calling .Max(x => x.SomeInt) on an IEnumerable, you commonly are happy to return "0" if the enumerable contains no elements. However LINQ's implementation of .Max(x => x.SomeInt) crashes as the sequence contains no elements. , Here is what I consider a better/neater implementation:
Uncertain of how to implement a specific extension to nHibernate with LINQ
By : user3116924
Date : March 29 2020, 07:55 AM
hop of those help? Yes you are right, the question is a bit vague but I'll try to address your points. 1) You are not really extending the Query object. The extension that you would be writing would actually be against IQueryable so...