Skip to content

Commit 5402e68

Browse files
committed
feat:因底层进行重大变更,所以需重新适配.NET 9.0版本
1 parent 7cad006 commit 5402e68

File tree

241 files changed

+50537
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

241 files changed

+50537
-7
lines changed

Directory.Build.props

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<Project>
2+
<PropertyGroup>
3+
<VersionPrefix>9.0.0</VersionPrefix>
4+
<LangVersion>latest</LangVersion>
5+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
6+
<AnalysisLevel>latest</AnalysisLevel>
7+
<NoWarn>NU5105</NoWarn>
8+
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
9+
<ImplicitUsings>true</ImplicitUsings>
10+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
11+
<PackageLicenseExpression>PostgreSQL</PackageLicenseExpression>
12+
</PropertyGroup>
13+
14+
<ItemGroup>
15+
<Using Include="System.Diagnostics" />
16+
<Using Include="System.Linq.Expressions" />
17+
<Using Include="System.Reflection" />
18+
<Using Include="Microsoft.EntityFrameworkCore" />
19+
<Using Include="Microsoft.EntityFrameworkCore.ChangeTracking" />
20+
<Using Include="Microsoft.EntityFrameworkCore.Diagnostics" />
21+
<Using Include="Microsoft.EntityFrameworkCore.Design" />
22+
<Using Include="Microsoft.EntityFrameworkCore.Metadata.Builders" />
23+
<Using Include="Microsoft.EntityFrameworkCore.Infrastructure" />
24+
<Using Include="Microsoft.EntityFrameworkCore.Metadata" />
25+
<Using Include="Microsoft.EntityFrameworkCore.Metadata.Conventions" />
26+
<Using Include="Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure" />
27+
<Using Include="Microsoft.EntityFrameworkCore.Migrations" />
28+
<Using Include="Microsoft.EntityFrameworkCore.Migrations.Operations" />
29+
<Using Include="Microsoft.EntityFrameworkCore.Query" />
30+
<Using Include="Microsoft.EntityFrameworkCore.Query.SqlExpressions" />
31+
<Using Include="Microsoft.EntityFrameworkCore.Scaffolding" />
32+
<Using Include="Microsoft.EntityFrameworkCore.Scaffolding.Metadata" />
33+
<Using Include="Microsoft.EntityFrameworkCore.Storage" />
34+
<Using Include="Microsoft.EntityFrameworkCore.Storage.ValueConversion" />
35+
<Using Include="Microsoft.EntityFrameworkCore.Update" />
36+
<Using Include="Microsoft.EntityFrameworkCore.ValueGeneration" />
37+
<Using Include="Microsoft.EntityFrameworkCore.Utilities" />
38+
<Using Include="Microsoft.Extensions.Logging" />
39+
<Using Include="Microsoft.Extensions.DependencyInjection" />
40+
<Using Include="GaussDB" />
41+
<Using Include="GaussDBTypes" />
42+
</ItemGroup>
43+
44+
</Project>

Directory.Packages.props

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<Project>
2+
<PropertyGroup>
3+
<EFCoreVersion>9.0.0</EFCoreVersion>
4+
<MicrosoftExtensionsVersion>9.0.0</MicrosoftExtensionsVersion>
5+
<GaussDBVersion>9.0.0</GaussDBVersion>
6+
</PropertyGroup>
7+
8+
<ItemGroup>
9+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="$(EFCoreVersion)" />
10+
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="$(EFCoreVersion)" />
11+
<PackageReference Include="Microsoft.EntityFrameworkCore.Abstractions" Version="$(EFCoreVersion)" />
12+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="$(EFCoreVersion)" />
13+
14+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="$(MicrosoftExtensionsVersion)" />
15+
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="$(MicrosoftExtensionsVersion)" />
16+
<PackageReference Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsVersion)" />
17+
18+
<PackageReference Include="DotNetCore.GaussDB" Version="$(EFCoreVersion)" />
19+
</ItemGroup>
20+
</Project>

EFCore.GaussDB.sln

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
88
Directory.Build.props = Directory.Build.props
99
Directory.Packages.props = Directory.Packages.props
1010
global.json = global.json
11-
Npgsql.snk = Npgsql.snk
12-
NuGet.config = NuGet.config
1311
README.md = README.md
1412
EndProjectSection
1513
EndProject
@@ -47,7 +45,4 @@ Global
4745
GlobalSection(ExtensibilityGlobals) = postSolution
4846
SolutionGuid = {F4EAAE6D-758C-4184-9D8C-7113384B61A8}
4947
EndGlobalSection
50-
GlobalSection(MonoDevelopProperties) = preSolution
51-
StartupItem = Npgsql.csproj
52-
EndGlobalSection
5348
EndGlobal

LICENSE

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Copyright (c) 2002-2021, Npgsql
2+
3+
Permission to use, copy, modify, and distribute this software and its
4+
documentation for any purpose, without fee, and without a written agreement
5+
is hereby granted, provided that the above copyright notice and this
6+
paragraph and the following two paragraphs appear in all copies.
7+
8+
IN NO EVENT SHALL NPGSQL BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
9+
SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
10+
ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
11+
Npgsql HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12+
13+
NPGSQL SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED
14+
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
15+
PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND Npgsql
16+
HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
17+
OR MODIFICATIONS.

0 commit comments

Comments
 (0)