Skip to content

Commit 1cc0220

Browse files
committed
Merge branch 'after-pr344-changes'
2 parents 8c8d8b8 + 6879ba0 commit 1cc0220

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

ChangeLog/7.2.0-Beta-1-dev.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
[main] SqlDml.Truncate() is introduced.
88
[main] WellKnown.MaxNumberOfConditions became obsolete, use new DomainConfiguration.MaxNumberOfConditions if needed
99
[main] TypeHelper.GetSingleConstructor() and .GetSingleConstructorOrDefault() are marked obsolete
10+
[main] Session.DisableSaveChages() methods return null value in more cases. See methods' summaries
11+
[main] DirectSessionAccessor.OpenSystemLogicOnlyRegion() returns disposable struct instead of IDisposable
12+
[main] OperationRegistry's Disable/EnableSystemOperationRegistration methods return disposable struct instead of IDisposable
1013
[main] Temporary tables cleanup now uses TRUNCATE instead of DELETE when possible
1114
[main] Temporary tables population is increased with multi-row inserts - 256 and 16 items per INSERT
1215
[main] PersistParameterBinding has new field RowIndex, use it for multi-row inserts if needed

Orm/Xtensive.Orm/Orm/Operations/OperationRegistry.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public sealed class OperationRegistry
2121
private readonly OperationRegistry registry;
2222
private readonly bool prevIsSystemOperationRegistrationEnabled;
2323

24-
public SystemOperationRegistrationScope(OperationRegistry registry, bool enable)
24+
internal SystemOperationRegistrationScope(OperationRegistry registry, bool enable)
2525
{
2626
this.registry = registry;
2727
prevIsSystemOperationRegistrationEnabled = registry.IsSystemOperationRegistrationEnabled;
@@ -32,9 +32,9 @@ public SystemOperationRegistrationScope(OperationRegistry registry, bool enable)
3232
}
3333

3434
private readonly ICompletableScope blockingScope;
35+
private readonly Collections.Deque<ICompletableScope> scopes = new();
3536
private bool isOperationRegistrationEnabled = true;
3637
private bool isUndoOperationRegistrationEnabled = true;
37-
private Collections.Deque<ICompletableScope> scopes = new Collections.Deque<ICompletableScope>();
3838

3939
/// <summary>
4040
/// Gets the session this instance is bound to.

0 commit comments

Comments
 (0)