Skip to content

Commit 5b55c08

Browse files
authored
Merge branch 'master' into upstream/optimize_ProjectionExpression
2 parents 444bddc + 84f4864 commit 5b55c08

105 files changed

Lines changed: 10569 additions & 1956 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ChangeLog/6.0.8_Z_Final.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[main] Resolved DateTimeOffset reading issues for certain queries with JOIN
2+
[main] Improved compiled queries work with entity parameters
3+
[main] Coalesce operator with local Entity/Structure instance in it is prohibited to prevent wrong query results
4+
[main] Ternary operator with local Entity/Structure instance in it is prohibited to prevent wrong query results
5+
[bulkoperations] Ressuracted check for transaction to prevent unrollbackable changes

ChangeLog/7.0.1_Z_Final.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[main] Changed boolean expression translation to have better index utilization (rebuild of filtered indexes required)
2+
[main] Introduced access to DbConnection by using IDbConnectionAccessor implementers
3+
[main] Much faster query cache in multithreaded workloads
4+
[main] Addressed issue appeared in 7.0.0 when certain items of prefetch graph weren't fetched
5+
[main] Fixed certain issues caused by unnecessary check for zombie transactions on commit
6+
[main] Improved silent cleanup detection when new and removed Entities happen to conflict by table
7+
[main] Improved speed and memory usage of Session creation
8+
[main] Overall performance improvements
9+
[web] Introduced better way of integration with ASP.NET

ChangeLog/7.0.1_dev.txt

Whitespace-only changes.

ChangeLog/7.1.0-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[main] Introduced IQueryable<T>.Tag() extensions allowing to add tags to result SQL statement

Extensions/TestCommon/TestCommon.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.2" />
1212
<PackageReference Include="NUnit" Version="3.12.0" />
1313
<PackageReference Include="NUnit3TestAdapter" Version="3.15.1" />
14-
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.7.0" />
14+
<PackageReference Include="System.Configuration.ConfigurationManager" Version="5.0.0" />
1515
</ItemGroup>
1616
<ItemGroup>
1717
<ProjectReference Include="..\..\Orm\Xtensive.Orm.Tests.Framework\Xtensive.Orm.Tests.Framework.csproj" />

Extensions/Xtensive.Orm.BulkOperations/Internals/BaseSqlVisitor.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,10 @@ public virtual void Visit(SqlFragment node)
522522
VisitInternal(node.Expression);
523523
}
524524

525+
public virtual void Visit(SqlComment node)
526+
{
527+
}
528+
525529
#region Non-public methods
526530

527531
private void VisitInternal(ISqlNode node)

Extensions/Xtensive.Orm.BulkOperations/Internals/Operation.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2019-2020 Xtensive LLC.
1+
// Copyright (C) 2019-2021 Xtensive LLC.
22
// This code is distributed under MIT license terms.
33
// See the License.txt file in the project root for more information.
44

@@ -50,11 +50,7 @@ public async Task<int> ExecuteAsync(CancellationToken token = default)
5050
return value;
5151
}
5252

53-
private void EnsureTransactionIsStarted()
54-
{
55-
var accessor = QueryProvider.Session.Services.Demand<DirectSqlAccessor>();
56-
_ = accessor.Transaction;
57-
}
53+
protected void EnsureTransactionIsStarted() => Transaction.Require(QueryProvider.Session);
5854

5955
protected abstract int ExecuteInternal();
6056

Extensions/Xtensive.Orm.Reprocessing/HandleUniqueConstraintViolationStrategy.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
using System.Data.SqlClient;
1+
// Copyright (C) 2009-2021 Xtensive LLC.
2+
// This code is distributed under MIT license terms.
3+
// See the License.txt file in the project root for more information.
4+
5+
using Microsoft.Data.SqlClient;
26
using System.Transactions;
37

48
namespace Xtensive.Orm.Reprocessing

Extensions/Xtensive.Orm.Reprocessing/Xtensive.Orm.Reprocessing.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<AssemblyOriginatorKeyFile>$(ExtensionsKeyFile)</AssemblyOriginatorKeyFile>
1313
</PropertyGroup>
1414
<ItemGroup>
15-
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.7.0" />
15+
<PackageReference Include="System.Configuration.ConfigurationManager" Version="5.0.0" />
1616
</ItemGroup>
1717
<ItemGroup>
1818
<None Include="Readme.txt" />

Extensions/Xtensive.Orm.Security/Xtensive.Orm.Security.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</PropertyGroup>
1414
<Import Project="$(SolutionDir)MSBuild\DataObjects.Net.InternalBuild.targets" />
1515
<ItemGroup>
16-
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.7.0" />
16+
<PackageReference Include="System.Configuration.ConfigurationManager" Version="5.0.0" />
1717
</ItemGroup>
1818
<ItemGroup>
1919
<ProjectReference Include="..\..\Orm\Xtensive.Orm\Xtensive.Orm.csproj" />

0 commit comments

Comments
 (0)