Feb 13, 2019 12:16 PM|PatriceSc|LINK
Where ? This is an exception message ? I'm not using Nhibernate but I suspect you may have an exception on the db side because it seems you take characters from position 54 in a string that seems to have only 20 characters. Also your criteria doesn't make
sense. You are comparing a string with a part of the same string ?
So it would be like doing something such as "ABCD"=="B" && "ABCD"=="C" for example ie comparing a string to its 2nd and 3rd character which will never be true.
Finally your method returns null and so you'll likely have anyway this error later. From your code I still don't understand which selection criteria you are trying to write.