Skip to content

Commit 9544eb4

Browse files
committed
Merge branch '6.0'
2 parents 3e71a1c + 2d297b4 commit 9544eb4

4 files changed

Lines changed: 53 additions & 8 deletions

File tree

ChangeLog/6.0.3_Z_Final.txt

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
[main] Provider for MS SQL Server was branched out into a separate project
2+
[main] Events for changes cancelling ported from 5.0.x
3+
[main] TupleDescriptor no longer implements IList<T>
4+
[main] TupleDescriptor.GetCommonPartLength(TupleDescriptor) method was removed
5+
[main] TupleDescriptor.IsValueType(int) method was removed
6+
[main] KeyExpression.KeyFields property changed its return type from ReadOnlyCollection<FieldExpression> to IReadOnlyList<FieldExpression>
7+
[main] One of the TupleExtensions.CopyTo() methods changed 'map' parameter type from int[] to IReadOnlyList<int>
8+
[main] WrappingTransformTupleBase.Arguments property changed the return type from object[] to IReadOnlyList<object>
9+
[main] TransformedTuple.Arguments property changed the return type from object[] to IReadOnlyList<object>
10+
[main] MapTransform.SingleSourceMap and MapTransform.SingleSourceMap properties changed the return type from int[] to IReadOnlyList<int>
11+
[main] Intoduced protected MapTransform.SetMap() and MapTransform.SetSingleSourceMap() methods to set correspoding properties value
12+
[main] One of the MapTransform constructors changed its 'map' parameter type from int[] to IReadOnlyList<int>
13+
[main] CutInTransform.Sources property changed the return type from TupleDescriptor[] to IReadOnlyList<TupleDescriptor>
14+
[main] CombineTransform.Sources property changed the return type from TupleDescriptor[] to IReadOnlyList<TupleDescriptor>
15+
[main] SelectProvider.ColumnIndexes property changed the return type from int[] to IReadOnlyList<int>
16+
[main] IncludeProvider.FilteredColumns property changed the return type from int[] to IReadOnlyList<int>
17+
[main] Introduced ListExtensions.IndexOf<T>(this IReadOnlyList<T>, T item) extensions method
18+
[main] ComparisonRules.Composite property changed its return type from ComparisonRules[] to IReadOnlyList<ComparisonRules>
19+
[main] Constructors of SelectProvider and IncludeProvider changed type of some of their parameters from int[] to IReadOnlyList<int>
20+
[main] ArrayExtensions.Copy() methods marked [Obsolete] and will be removed in future
21+
[main] Segment<T> struct became readonly
22+
[main] SqlConnection was extended with abstract ClearUnderlyingConnection method
23+
[main] BindingCollection<TKey, TValue> now implements IReadOnlyCollection<KeyValuePair<TKey, TValue>> instead of IEnumerable<KeyValuePair<TKey, TValue>>
24+
[main] Several SqlDml.Join methods changed their signature by using parameters of IReadOnlyList<> inteface instead of IList<> interface
25+
[main] General performance and memory usage improvements
26+
[main] Query translation performance improvements
27+
[main] Materializer can work with non-private members
28+
[main] Improved work of In/Contains over local collections with collections of Keys
29+
[main] Fixed certain cases when system attribute [OverrideFieldName] may cause problems
30+
[main] Fixed concurrency issues
31+
[main] Fixed possible corruption EntityChangeRegistry contents
32+
[main] Fixed issue when reference synchronization couldn't clear reference of removing entity
33+
[main] Fixed issue when field value validation can force lazy-load fields to be fetched
34+
[main] Fixed cases when extra SELECT wrapping appeared just because of TypeId constant column
35+
[sqlserver] Updated version of referenced System.Data.SqlClient
36+
[bulkoperations] Made possible to use Contains() for collections in Bulk operations as well as In()

Orm/Xtensive.Orm.Tests.Core/Reflection/TypeHelperGetGenericInterfaceTests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright (C) 2020 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+
15
using System;
26
using System.Collections.Generic;
37
using NUnit.Framework;

Orm/Xtensive.Orm.Tests.Core/Reflection/TypeHelperGetGenericTypeTests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright (C) 2020 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+
15
using System;
26
using System.Collections.Generic;
37
using NUnit.Framework;

Orm/Xtensive.Orm/Tuples/Transform/MapTransform.cs

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ public IReadOnlyList<int> SingleSourceMap {
5656
get => singleSourceMap;
5757
}
5858

59+
/// <summary>
60+
/// Gets or sets destination-to-source field map.
61+
/// </summary>
62+
public IReadOnlyList<Pair<int, int>> Map
63+
{
64+
[DebuggerStepThrough]
65+
get { return Array.AsReadOnly(map); }
66+
}
67+
5968
protected void SetSingleSourceMap(IReadOnlyList<int> singleSourceMap)
6069
{
6170
ArgumentValidator.EnsureArgumentNotNull(singleSourceMap, nameof(singleSourceMap));
@@ -73,14 +82,6 @@ protected void SetSingleSourceMap(IReadOnlyList<int> singleSourceMap)
7382
sourceCount = 1;
7483
}
7584

76-
/// <summary>
77-
/// Gets or sets destination-to-source field map.
78-
/// </summary>
79-
public IReadOnlyList<Pair<int, int>> Map {
80-
[DebuggerStepThrough]
81-
get { return Array.AsReadOnly(map); }
82-
}
83-
8485
protected void SetMap(Pair<int, int>[] map)
8586
{
8687
ArgumentValidator.EnsureArgumentNotNull(map, nameof(map));

0 commit comments

Comments
 (0)