Skip to content

Commit f7b5eec

Browse files
committed
Merge branch 'dev' (release 6.4.0)
2 parents 36a9608 + c2099ef commit f7b5eec

6 files changed

+21
-18
lines changed

Directory.Build.targets

+12-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
11
<Project>
2-
<ItemGroup>
2+
<ItemGroup Condition="'$(TargetFramework)' != 'net45'">
3+
<PackageReference Update="Npgsql" Version="4.1.2" />
4+
<PackageReference Update="Npgsql.LegacyPostgis" Version="4.1.2" />
5+
</ItemGroup>
6+
7+
<ItemGroup Condition="'$(TargetFramework)' == 'net45'">
38
<PackageReference Update="Npgsql" Version="4.0.10" />
49
<PackageReference Update="Npgsql.LegacyPostgis" Version="4.0.10" />
5-
<PackageReference Update="EntityFramework" Version="6.3.0" />
10+
</ItemGroup>
11+
12+
<ItemGroup>
13+
<PackageReference Update="EntityFramework" Version="6.4.0" />
614

715
<PackageReference Update="NUnit" Version="3.12.0" />
8-
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.3.0" />
16+
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.4.0" />
917
<PackageReference Update="NUnit3TestAdapter" Version="3.15.1" />
1018
<PackageReference Update="NLog" Version="4.6.7" />
1119
</ItemGroup>
12-
</Project>
20+
</Project>

EF6.PG.Tests/EF6.PG.Tests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<LangVersion>latest</LangVersion>
4-
<TargetFrameworks>net45;netcoreapp3.0</TargetFrameworks>
4+
<TargetFrameworks>net45;netcoreapp3.1</TargetFrameworks>
55
<RootNamespace>EntityFramework6.Npgsql.Tests</RootNamespace>
66
<AssemblyName>EntityFramework6.Npgsql.Tests</AssemblyName>
77
</PropertyGroup>

EF6.PG/EF6.PG.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<Copyright>Copyright 2019 © The Npgsql Development Team</Copyright>
66
<Company>Npgsql</Company>
77
<PackageTags>npgsql postgresql postgres data database entity framework ef orm</PackageTags>
8-
<VersionPrefix>6.3.0</VersionPrefix>
8+
<VersionPrefix>6.4.0</VersionPrefix>
99
<LangVersion>latest</LangVersion>
10-
<TargetFrameworks>net45;netstandard21</TargetFrameworks>
10+
<TargetFrameworks>net45;net461;netstandard21</TargetFrameworks>
1111
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1212
<NoWarn>CS1591</NoWarn>
1313
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
@@ -34,7 +34,7 @@
3434
<None Include="content/Web.config.transform" Pack="true" PackagePath="content/net45" />
3535
<None Include="postgresql.png" Pack="true" PackagePath="" />
3636
</ItemGroup>
37-
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
37+
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' Or '$(TargetFramework)' == 'net461' ">
3838
<Reference Include="System" />
3939
<Reference Include="System.Core" />
4040
<Reference Include="System.Data" />

EF6.PG/Resources/NpgsqlSchema.ssdl

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
end as is_identity,
5858
false as is_generated,
5959
-- default value column
60-
ad.adsrc as default_value
60+
pg_get_expr(ad.adbin, ad.adrelid) as default_value
6161
from pg_attribute a
6262
join pg_class c
6363
on a.attrelid = c.oid
@@ -178,7 +178,7 @@
178178
end as is_identity,
179179
false as is_generated,
180180
-- default value column
181-
ad.adsrc as default_value
181+
pg_get_expr(ad.adbin, ad.adrelid) as default_value
182182
from pg_attribute a
183183
join pg_class c
184184
on a.attrelid = c.oid

EF6.PG/Resources/NpgsqlSchemaV3.ssdl

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
end as is_identity,
5858
false as is_generated,
5959
-- default value column
60-
ad.adsrc as default_value
60+
pg_get_expr(ad.adbin, ad.adrelid) as default_value
6161
from pg_attribute a
6262
join pg_class c
6363
on a.attrelid = c.oid
@@ -178,7 +178,7 @@
178178
end as is_identity,
179179
false as is_generated,
180180
-- default value column
181-
ad.adsrc as default_value
181+
pg_get_expr(ad.adbin, ad.adrelid) as default_value
182182
from pg_attribute a
183183
join pg_class c
184184
on a.attrelid = c.oid

EntityFramework6.Npgsql.sln

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
2-
Microsoft Visual Studio Solution File, Format Version 12.00
1+
Microsoft Visual Studio Solution File, Format Version 12.00
32
# Visual Studio 15
43
VisualStudioVersion = 15.0.27703.2035
54
MinimumVisualStudioVersion = 10.0.40219.1
@@ -32,10 +31,6 @@ Global
3231
GlobalSection(SolutionProperties) = preSolution
3332
HideSolutionNode = FALSE
3433
EndGlobalSection
35-
GlobalSection(NestedProjects) = preSolution
36-
{3EC85CBA-5B79-11E3-8104-0022198AB089} = {8537E50E-CF7F-49CB-B4EF-3E2A1B11F050}
37-
{4A0A42DE-C8B8-11E4-8EC9-005056A163A4} = {ED612DB1-AB32-4603-95E7-891BACA71C39}
38-
EndGlobalSection
3934
GlobalSection(ExtensibilityGlobals) = postSolution
4035
SolutionGuid = {84B4C9EA-ED4F-4E87-8809-297958315622}
4136
EndGlobalSection

0 commit comments

Comments
 (0)