I need help because it is impossible to explain. We have a semi-component nhibernate request:
var query = _tyreRepository.Session.QueryOver<Tyre>(() => tyreAlias) .JoinQueryOver<Pattern>(() => tyreAlias.Pattern, () => patternAlias) .JoinQueryOver<Brand>(() => patternAlias.Brand, () => brandAlias) .JoinQueryOver<RimSize>(() => tyreAlias.RimSize, () => rimSizeAlias) .JoinQueryOver(() => tyreAlias.SpeedIndex, () => speedIndexAlias, JoinType.LeftOuterJoin);
What works great in Visual Studio 2012, we recently upgraded to Visual 2015, and now this request does not work; when you use where on the speed index:
query.Where(() => speedIndexAlias.SpeedKm >= speedKms);
Otherwise, the request works fine.
The worked out debug backtracking code didn’t work. Then we got the same project as in visual studio 2012, they work fine. We cannot understand why, when compiling a project in visual studio 2015, this request no longer works (without any changes to the request).
I really like all the new language changes in 2015, but our site breaks when we compile our code in visual studio 2015 ...
source share