Skip to content

Commit 1af577a

Browse files
committed
Undo change for linq
1 parent 8067ede commit 1af577a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate/Linq/IntermediateHqlTree.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public void AddDistinctRootOperator()
110110
if (!_hasDistinctRootOperator)
111111
{
112112
Expression<Func<IEnumerable<object>, IList>> x =
113-
l => DistinctRootEntityResultTransformer.Instance.TransformList(l.ToList());
113+
l => new DistinctRootEntityResultTransformer().TransformList(l.ToList());
114114

115115
_listTransformers.Add(x);
116116
_hasDistinctRootOperator = true;

0 commit comments

Comments
 (0)