Skip to content

Commit a168bfc

Browse files
committed
Fix broken build
1 parent cd67ce7 commit a168bfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Orm/Xtensive.Orm/Orm/Internals/ChangeRegistries/SessionBoundRegistry.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ internal Core.Disposable DisableRegistrations()
2626

2727
protected void EnsureRegistrationsAllowed()
2828
{
29-
if (changesDisabled) {
29+
if (registrationsDisabled) {
3030
throw new InvalidOperationException(
31-
string.Format(Strings.ExPersistentChangesAreNotAllowedForThisEvent, Session.Guid));
31+
string.Format(Strings.ExPersistentChangesAreNotAllowed, Session.Guid));
3232
}
3333
}
3434

0 commit comments

Comments
 (0)