We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 27da6cc + 0518bc9 commit 25a7e81Copy full SHA for 25a7e81
ChangeLog/6.0.12_dev.txt
@@ -0,0 +1 @@
1
+[main] Addressed DataTypeCollection.Add method issue of wrong adding storage-specifid types to the collection
Orm/Xtensive.Orm/Sql/Info/DataTypeCollection.cs
@@ -57,8 +57,10 @@ public DataTypeInfo this[SqlType sqlType]
57
public void Add(SqlType sqlType, DataTypeInfo dataTypeInfo)
58
{
59
this.EnsureNotLocked();
60
- if (!IsLocked)
61
- sqlTypes.Add(sqlType, dataTypeInfo);
+ sqlTypes.Add(sqlType, dataTypeInfo);
+ foreach (var nativeType in dataTypeInfo.NativeTypes) {
62
+ nativeTypes.Add(nativeType, dataTypeInfo);
63
+ }
64
}
65
66
/// <summary>
0 commit comments