File tree 6 files changed +21
-18
lines changed
6 files changed +21
-18
lines changed Original file line number Diff line number Diff line change 1
1
<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'" >
3
8
<PackageReference Update =" Npgsql" Version =" 4.0.10" />
4
9
<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" />
6
14
7
15
<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" />
9
17
<PackageReference Update =" NUnit3TestAdapter" Version =" 3.15.1" />
10
18
<PackageReference Update =" NLog" Version =" 4.6.7" />
11
19
</ItemGroup >
12
- </Project >
20
+ </Project >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
3
<LangVersion >latest</LangVersion >
4
- <TargetFrameworks >net45;netcoreapp3.0 </TargetFrameworks >
4
+ <TargetFrameworks >net45;netcoreapp3.1 </TargetFrameworks >
5
5
<RootNamespace >EntityFramework6.Npgsql.Tests</RootNamespace >
6
6
<AssemblyName >EntityFramework6.Npgsql.Tests</AssemblyName >
7
7
</PropertyGroup >
Original file line number Diff line number Diff line change 5
5
<Copyright >Copyright 2019 © The Npgsql Development Team</Copyright >
6
6
<Company >Npgsql</Company >
7
7
<PackageTags >npgsql postgresql postgres data database entity framework ef orm</PackageTags >
8
- <VersionPrefix >6.3 .0</VersionPrefix >
8
+ <VersionPrefix >6.4 .0</VersionPrefix >
9
9
<LangVersion >latest</LangVersion >
10
- <TargetFrameworks >net45;netstandard21</TargetFrameworks >
10
+ <TargetFrameworks >net45;net461; netstandard21</TargetFrameworks >
11
11
<TreatWarningsAsErrors >true</TreatWarningsAsErrors >
12
12
<NoWarn >CS1591</NoWarn >
13
13
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
34
34
<None Include =" content/Web.config.transform" Pack =" true" PackagePath =" content/net45" />
35
35
<None Include =" postgresql.png" Pack =" true" PackagePath =" " />
36
36
</ItemGroup >
37
- <ItemGroup Condition =" '$(TargetFramework)' == 'net45' " >
37
+ <ItemGroup Condition =" '$(TargetFramework)' == 'net45' Or '$(TargetFramework)' == 'net461' " >
38
38
<Reference Include =" System" />
39
39
<Reference Include =" System.Core" />
40
40
<Reference Include =" System.Data" />
Original file line number Diff line number Diff line change 57
57
end as is_identity,
58
58
false as is_generated,
59
59
-- default value column
60
- ad.adsrc as default_value
60
+ pg_get_expr( ad.adbin, ad.adrelid) as default_value
61
61
from pg_attribute a
62
62
join pg_class c
63
63
on a.attrelid = c.oid
178
178
end as is_identity,
179
179
false as is_generated,
180
180
-- default value column
181
- ad.adsrc as default_value
181
+ pg_get_expr( ad.adbin, ad.adrelid) as default_value
182
182
from pg_attribute a
183
183
join pg_class c
184
184
on a.attrelid = c.oid
Original file line number Diff line number Diff line change 57
57
end as is_identity,
58
58
false as is_generated,
59
59
-- default value column
60
- ad.adsrc as default_value
60
+ pg_get_expr( ad.adbin, ad.adrelid) as default_value
61
61
from pg_attribute a
62
62
join pg_class c
63
63
on a.attrelid = c.oid
178
178
end as is_identity,
179
179
false as is_generated,
180
180
-- default value column
181
- ad.adsrc as default_value
181
+ pg_get_expr( ad.adbin, ad.adrelid) as default_value
182
182
from pg_attribute a
183
183
join pg_class c
184
184
on a.attrelid = c.oid
Original file line number Diff line number Diff line change 1
-
2
- Microsoft Visual Studio Solution File, Format Version 12.00
1
+ Microsoft Visual Studio Solution File, Format Version 12.00
3
2
# Visual Studio 15
4
3
VisualStudioVersion = 15.0.27703.2035
5
4
MinimumVisualStudioVersion = 10.0.40219.1
@@ -32,10 +31,6 @@ Global
32
31
GlobalSection (SolutionProperties ) = preSolution
33
32
HideSolutionNode = FALSE
34
33
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
39
34
GlobalSection (ExtensibilityGlobals ) = postSolution
40
35
SolutionGuid = {84B4C9EA-ED4F-4E87-8809-297958315622}
41
36
EndGlobalSection
You can’t perform that action at this time.
0 commit comments