Skip to content

Commit 74f6937

Browse files
committed
fixup! NH-2285: Support for LockMode in linq provider
1 parent cedbb1b commit 74f6937

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/NHibernate/Linq/LockExpressionNode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ protected override ResultOperatorBase CreateResultOperator(ClauseGenerationConte
3838
return new LockResultOperator(qsrExpression, _lockMode);
3939
}
4040
}
41-
}
41+
}

src/NHibernate/Linq/LockResultOperator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ public override void TransformExpressions(Func<Expression, Expression> transform
4141
_qsrExpression = (QuerySourceReferenceExpression) transformation(_qsrExpression);
4242
}
4343
}
44-
}
44+
}

src/NHibernate/Linq/Visitors/ResultOperatorProcessors/ProcessLock.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ public void Process(LockResultOperator resultOperator, QueryModelVisitor queryMo
88
tree.AddAdditionalCriteria((q, p) => q.SetLockMode(alias, (LockMode) resultOperator.LockMode.Value));
99
}
1010
}
11-
}
11+
}

0 commit comments

Comments
 (0)