Skip to content
This repository was archived by the owner on Feb 1, 2025. It is now read-only.

Commit 721d427

Browse files
authored
Merge pull request #185 from linq2db/version3
Release 3.16.0
2 parents de3bb2a + 7638e39 commit 721d427

File tree

5 files changed

+7
-18
lines changed

5 files changed

+7
-18
lines changed

Build/linq2db.Default.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<Version>3.15.0</Version>
3+
<Version>3.16.0</Version>
44

55
<Authors>Svyatoslav Danyliv, Igor Tkachev, Dmitry Lukashenko, Ilya Chudin</Authors>
66
<Product>Linq to DB</Product>

Directory.Packages.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<PackageVersion Include="NUnit" Version="3.13.2" />
66
<PackageVersion Include="FluentAssertions" Version="5.10.3" />
77

8-
<PackageVersion Include="linq2db" Version="3.4.5" />
9-
<PackageVersion Include="linq2db.Tools" Version="3.4.5" />
8+
<PackageVersion Include="linq2db" Version="3.5.0" />
9+
<PackageVersion Include="linq2db.Tools" Version="3.5.0" />
1010

1111
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="1.0.0" />
1212
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="5.0.0" />

NuGet/linq2db.EntityFrameworkCore.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<dependencies>
1717
<group targetFramework=".NETStandard2.0">
1818
<dependency id="Microsoft.EntityFrameworkCore.Relational" version="3.1.11" />
19-
<dependency id="linq2db" version="3.4.5" />
19+
<dependency id="linq2db" version="3.5.0" />
2020
</group>
2121
</dependencies>
2222
</metadata>

Source/LinqToDB.EntityFrameworkCore/EFCoreMetadataReader.cs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -482,23 +482,12 @@ public override int GetHashCode()
482482
return found;
483483
}
484484

485-
private static PropertyInfo GetPropertyInfoForType(Type type, PropertyInfo propInfo)
486-
{
487-
if (propInfo.DeclaringType == type)
488-
return propInfo;
489-
490-
var found = type.GetProperties()
491-
.FirstOrDefault(x => x.Module == propInfo.Module && x.MetadataToken == propInfo.MetadataToken);
492-
493-
return found ?? propInfo;
494-
}
495-
496485
private Sql.ExpressionAttribute? GetDbFunctionFromProperty(Type type, PropertyInfo propInfo)
497486
{
498487
if (_dependencies == null || _model == null)
499488
return null;
500489

501-
propInfo = GetPropertyInfoForType(type, propInfo);
490+
propInfo = (PropertyInfo)(type.GetMemberEx(propInfo) ?? propInfo);
502491

503492
var found = _calculatedExtensions.GetOrAdd(propInfo, mi =>
504493
{

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
variables:
22
solution: 'linq2db.EFCore.sln'
33
build_configuration: 'Release'
4-
assemblyVersion: 3.15.0
5-
nugetVersion: 3.15.0
4+
assemblyVersion: 3.16.0
5+
nugetVersion: 3.16.0
66
artifact_nugets: 'nugets'
77

88
# build on commits to important branches (master + release branches):

0 commit comments

Comments
 (0)