Skip to content

Commit df6a4ad

Browse files
authored
Merge pull request #53 from yv989c/SerhiyBalan/main
Add EF9 & 10 support, CI updates, and other fixes
2 parents 23a7936 + eddce01 commit df6a4ad

File tree

11 files changed

+185
-30
lines changed

11 files changed

+185
-30
lines changed

.github/workflows/ci-workflow.yml

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,17 @@ env:
1717
DOTNET_CLI_TELEMETRY_OPTOUT: true
1818
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
1919

20-
# GitHub Packages Feed settings
21-
GITHUB_FEED: https://nuget.pkg.github.com/yv989c/index.json
22-
GITHUB_USER: yv989c
23-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24-
LOCAL_NUGET_PAT: ${{ secrets.LOCAL_NUGET_PAT }}
25-
2620
# Official NuGet Feed settings
2721
NUGET_FEED: https://api.nuget.org/v3/index.json
2822
NUGET_USER: yv989c
2923
NUGET_TOKEN: ${{ secrets.NUGET_KEY }}
3024

3125
jobs:
3226
build:
33-
runs-on: windows-latest
27+
runs-on: windows-2022
3428
steps:
3529
- name: Checkout
36-
uses: actions/checkout@v3
30+
uses: actions/checkout@v6
3731

3832
- name: Restore
3933
run: dotnet restore BlazarTech.QueryableValues.sln
@@ -49,36 +43,31 @@ jobs:
4943
run: dotnet build BlazarTech.QueryableValues.SqlServer.sln -c Release --no-restore
5044

5145
- name: Upload Artifacts
52-
uses: actions/upload-artifact@v3
46+
uses: actions/upload-artifact@v6
5347
with:
5448
name: nupkg
5549
path: ./src/QueryableValues.SqlServer.EFCore*/bin/Release/*.nupkg
5650
prerelease:
5751
needs: build
5852
if: github.ref == 'refs/heads/develop'
59-
runs-on: windows-latest
53+
runs-on: windows-2022
6054
steps:
6155
- name: Download Artifact
62-
uses: actions/download-artifact@v3
56+
uses: actions/download-artifact@v7
6357
with:
6458
name: nupkg
65-
- name: Push to GitHub Feed
59+
- name: Push to NuGet Feed
6660
run: |
67-
dotnet nuget add source --username $env:GITHUB_USER --password $env:GITHUB_TOKEN --store-password-in-clear-text --name github "$env:GITHUB_FEED" &&
68-
dotnet nuget push "**/*.nupkg" --api-key $env:LOCAL_NUGET_PAT --source github --skip-duplicate
61+
dotnet nuget push "**/*.nupkg" --api-key $env:NUGET_TOKEN --source $env:NUGET_FEED --skip-duplicate
6962
deploy:
7063
needs: build
7164
if: github.event_name == 'release'
72-
runs-on: windows-latest
65+
runs-on: windows-2022
7366
steps:
7467
- name: Download Artifact
75-
uses: actions/download-artifact@v3
68+
uses: actions/download-artifact@v7
7669
with:
7770
name: nupkg
78-
- name: Push to GitHub Feed
79-
run: |
80-
dotnet nuget add source --username $env:GITHUB_USER --password $env:GITHUB_TOKEN --store-password-in-clear-text --name github "$env:GITHUB_FEED" &&
81-
dotnet nuget push "**/*.nupkg" --api-key $env:LOCAL_NUGET_PAT --source github --skip-duplicate
8271
- name: Push to NuGet Feed
8372
run: |
8473
dotnet nuget push "**/*.nupkg" --api-key $env:NUGET_TOKEN --source $env:NUGET_FEED --skip-duplicate

BlazarTech.QueryableValues.SqlServer.sln

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 17
4-
VisualStudioVersion = 17.0.31912.275
3+
# Visual Studio Version 18
4+
VisualStudioVersion = 18.1.11304.174 d18.0
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "QueryableValues.SqlServer", "src\QueryableValues.SqlServer\QueryableValues.SqlServer.csproj", "{134F124A-C234-4B36-BEAC-B50E4B4CE3FD}"
77
EndProject
@@ -22,6 +22,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "QueryableValues.SqlServer.E
2222
EndProject
2323
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "QueryableValues.SqlServer.EFCore8", "src\QueryableValues.SqlServer.EFCore8\QueryableValues.SqlServer.EFCore8.csproj", "{91D461B8-ECE6-4852-806E-2DD17ACA3B04}"
2424
EndProject
25+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QueryableValues.SqlServer.EFCore9", "src\QueryableValues.SqlServer.EFCore9\QueryableValues.SqlServer.EFCore9.csproj", "{B2C4FD8C-A344-B5F4-1AB6-00D900CE7E6C}"
26+
EndProject
27+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QueryableValues.SqlServer.EFCore10", "src\QueryableValues.SqlServer.EFCore10\QueryableValues.SqlServer.EFCore10.csproj", "{6636695F-C700-DD8B-DAB3-F07FAB201A72}"
28+
EndProject
2529
Global
2630
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2731
Debug|Any CPU = Debug|Any CPU
@@ -64,6 +68,18 @@ Global
6468
{91D461B8-ECE6-4852-806E-2DD17ACA3B04}.Release|Any CPU.Build.0 = Release|Any CPU
6569
{91D461B8-ECE6-4852-806E-2DD17ACA3B04}.Test|Any CPU.ActiveCfg = Test|Any CPU
6670
{91D461B8-ECE6-4852-806E-2DD17ACA3B04}.Test|Any CPU.Build.0 = Test|Any CPU
71+
{B2C4FD8C-A344-B5F4-1AB6-00D900CE7E6C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
72+
{B2C4FD8C-A344-B5F4-1AB6-00D900CE7E6C}.Debug|Any CPU.Build.0 = Debug|Any CPU
73+
{B2C4FD8C-A344-B5F4-1AB6-00D900CE7E6C}.Release|Any CPU.ActiveCfg = Release|Any CPU
74+
{B2C4FD8C-A344-B5F4-1AB6-00D900CE7E6C}.Release|Any CPU.Build.0 = Release|Any CPU
75+
{B2C4FD8C-A344-B5F4-1AB6-00D900CE7E6C}.Test|Any CPU.ActiveCfg = Test|Any CPU
76+
{B2C4FD8C-A344-B5F4-1AB6-00D900CE7E6C}.Test|Any CPU.Build.0 = Test|Any CPU
77+
{6636695F-C700-DD8B-DAB3-F07FAB201A72}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
78+
{6636695F-C700-DD8B-DAB3-F07FAB201A72}.Debug|Any CPU.Build.0 = Debug|Any CPU
79+
{6636695F-C700-DD8B-DAB3-F07FAB201A72}.Release|Any CPU.ActiveCfg = Release|Any CPU
80+
{6636695F-C700-DD8B-DAB3-F07FAB201A72}.Release|Any CPU.Build.0 = Release|Any CPU
81+
{6636695F-C700-DD8B-DAB3-F07FAB201A72}.Test|Any CPU.ActiveCfg = Test|Any CPU
82+
{6636695F-C700-DD8B-DAB3-F07FAB201A72}.Test|Any CPU.Build.0 = Test|Any CPU
6783
EndGlobalSection
6884
GlobalSection(SolutionProperties) = preSolution
6985
HideSolutionNode = FALSE

BlazarTech.QueryableValues.sln

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 17
4-
VisualStudioVersion = 17.0.31912.275
3+
# Visual Studio Version 18
4+
VisualStudioVersion = 18.1.11304.174 d18.0
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "QueryableValues.SqlServer.EFCore6", "src\QueryableValues.SqlServer.EFCore6\QueryableValues.SqlServer.EFCore6.csproj", "{BD913E54-FD19-468D-A9D3-1E9608F12D46}"
77
EndProject
@@ -21,6 +21,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "QueryableValues.SqlServer.T
2121
EndProject
2222
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{5A74EE6E-4DBD-4176-A5E0-12C87C813658}"
2323
ProjectSection(SolutionItems) = preProject
24+
.github\workflows\ci-workflow.yml = .github\workflows\ci-workflow.yml
2425
src\SharedProjectProperties.xml = src\SharedProjectProperties.xml
2526
tests\SharedTestProjectProperties.xml = tests\SharedTestProjectProperties.xml
2627
Version.xml = Version.xml
@@ -36,6 +37,14 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "QueryableValues.SqlServer.E
3637
EndProject
3738
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "QueryableValues.SqlServer.Tests.EFCore8", "tests\QueryableValues.SqlServer.Tests.EFCore8\QueryableValues.SqlServer.Tests.EFCore8.csproj", "{9387545B-CABC-4C63-A163-4F64C65A370F}"
3839
EndProject
40+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QueryableValues.SqlServer.EFCore9", "src\QueryableValues.SqlServer.EFCore9\QueryableValues.SqlServer.EFCore9.csproj", "{6FB261E0-4137-44D5-A2E9-E7AFFB16F745}"
41+
EndProject
42+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QueryableValues.SqlServer.EFCore10", "src\QueryableValues.SqlServer.EFCore10\QueryableValues.SqlServer.EFCore10.csproj", "{C15498D8-E387-451A-8C2F-E52F3DDBC48F}"
43+
EndProject
44+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QueryableValues.SqlServer.Tests.EFCore9", "tests\QueryableValues.SqlServer.Tests.EFCore9\QueryableValues.SqlServer.Tests.EFCore9.csproj", "{07C70A98-52DF-41E6-90A0-A7DB803228D2}"
45+
EndProject
46+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QueryableValues.SqlServer.Tests.EFCore10", "tests\QueryableValues.SqlServer.Tests.EFCore10\QueryableValues.SqlServer.Tests.EFCore10.csproj", "{D38DC9DE-C57A-46AE-BFE1-B198EF1D5A20}"
47+
EndProject
3948
Global
4049
GlobalSection(SolutionConfigurationPlatforms) = preSolution
4150
Debug|Any CPU = Debug|Any CPU
@@ -138,6 +147,38 @@ Global
138147
{9387545B-CABC-4C63-A163-4F64C65A370F}.Test_All|Any CPU.Build.0 = Test_All|Any CPU
139148
{9387545B-CABC-4C63-A163-4F64C65A370F}.Test|Any CPU.ActiveCfg = Test|Any CPU
140149
{9387545B-CABC-4C63-A163-4F64C65A370F}.Test|Any CPU.Build.0 = Test|Any CPU
150+
{6FB261E0-4137-44D5-A2E9-E7AFFB16F745}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
151+
{6FB261E0-4137-44D5-A2E9-E7AFFB16F745}.Debug|Any CPU.Build.0 = Debug|Any CPU
152+
{6FB261E0-4137-44D5-A2E9-E7AFFB16F745}.Release|Any CPU.ActiveCfg = Release|Any CPU
153+
{6FB261E0-4137-44D5-A2E9-E7AFFB16F745}.Release|Any CPU.Build.0 = Release|Any CPU
154+
{6FB261E0-4137-44D5-A2E9-E7AFFB16F745}.Test_All|Any CPU.ActiveCfg = Debug|Any CPU
155+
{6FB261E0-4137-44D5-A2E9-E7AFFB16F745}.Test_All|Any CPU.Build.0 = Debug|Any CPU
156+
{6FB261E0-4137-44D5-A2E9-E7AFFB16F745}.Test|Any CPU.ActiveCfg = Test|Any CPU
157+
{6FB261E0-4137-44D5-A2E9-E7AFFB16F745}.Test|Any CPU.Build.0 = Test|Any CPU
158+
{C15498D8-E387-451A-8C2F-E52F3DDBC48F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
159+
{C15498D8-E387-451A-8C2F-E52F3DDBC48F}.Debug|Any CPU.Build.0 = Debug|Any CPU
160+
{C15498D8-E387-451A-8C2F-E52F3DDBC48F}.Release|Any CPU.ActiveCfg = Release|Any CPU
161+
{C15498D8-E387-451A-8C2F-E52F3DDBC48F}.Release|Any CPU.Build.0 = Release|Any CPU
162+
{C15498D8-E387-451A-8C2F-E52F3DDBC48F}.Test_All|Any CPU.ActiveCfg = Debug|Any CPU
163+
{C15498D8-E387-451A-8C2F-E52F3DDBC48F}.Test_All|Any CPU.Build.0 = Debug|Any CPU
164+
{C15498D8-E387-451A-8C2F-E52F3DDBC48F}.Test|Any CPU.ActiveCfg = Test|Any CPU
165+
{C15498D8-E387-451A-8C2F-E52F3DDBC48F}.Test|Any CPU.Build.0 = Test|Any CPU
166+
{07C70A98-52DF-41E6-90A0-A7DB803228D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
167+
{07C70A98-52DF-41E6-90A0-A7DB803228D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
168+
{07C70A98-52DF-41E6-90A0-A7DB803228D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
169+
{07C70A98-52DF-41E6-90A0-A7DB803228D2}.Release|Any CPU.Build.0 = Release|Any CPU
170+
{07C70A98-52DF-41E6-90A0-A7DB803228D2}.Test_All|Any CPU.ActiveCfg = Test_All|Any CPU
171+
{07C70A98-52DF-41E6-90A0-A7DB803228D2}.Test_All|Any CPU.Build.0 = Test_All|Any CPU
172+
{07C70A98-52DF-41E6-90A0-A7DB803228D2}.Test|Any CPU.ActiveCfg = Test|Any CPU
173+
{07C70A98-52DF-41E6-90A0-A7DB803228D2}.Test|Any CPU.Build.0 = Test|Any CPU
174+
{D38DC9DE-C57A-46AE-BFE1-B198EF1D5A20}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
175+
{D38DC9DE-C57A-46AE-BFE1-B198EF1D5A20}.Debug|Any CPU.Build.0 = Debug|Any CPU
176+
{D38DC9DE-C57A-46AE-BFE1-B198EF1D5A20}.Release|Any CPU.ActiveCfg = Release|Any CPU
177+
{D38DC9DE-C57A-46AE-BFE1-B198EF1D5A20}.Release|Any CPU.Build.0 = Release|Any CPU
178+
{D38DC9DE-C57A-46AE-BFE1-B198EF1D5A20}.Test_All|Any CPU.ActiveCfg = Test_All|Any CPU
179+
{D38DC9DE-C57A-46AE-BFE1-B198EF1D5A20}.Test_All|Any CPU.Build.0 = Test_All|Any CPU
180+
{D38DC9DE-C57A-46AE-BFE1-B198EF1D5A20}.Test|Any CPU.ActiveCfg = Test|Any CPU
181+
{D38DC9DE-C57A-46AE-BFE1-B198EF1D5A20}.Test|Any CPU.Build.0 = Test|Any CPU
141182
EndGlobalSection
142183
GlobalSection(SolutionProperties) = preSolution
143184
HideSolutionNode = FALSE

Version.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
<Project>
22
<PropertyGroup>
3-
<VersionEFCore3>3.9.3</VersionEFCore3>
4-
<VersionEFCore5>5.9.3</VersionEFCore5>
5-
<VersionEFCore6>6.9.3</VersionEFCore6>
6-
<VersionEFCore7>7.4.3</VersionEFCore7>
7-
<VersionEFCore8>8.1.1</VersionEFCore8>
3+
<VersionEFCore3>3.9.4</VersionEFCore3>
4+
<VersionEFCore5>5.9.4</VersionEFCore5>
5+
<VersionEFCore6>6.9.4</VersionEFCore6>
6+
<VersionEFCore7>7.4.4</VersionEFCore7>
7+
<VersionEFCore8>8.1.2</VersionEFCore8>
8+
<VersionEFCore9>9.0.0</VersionEFCore9>
9+
<VersionEFCore10>10.0.0</VersionEFCore10>
810
</PropertyGroup>
911
</Project>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<Import Project="../SharedProjectProperties.xml" />
3+
<Import Project="../../Version.xml" />
4+
5+
<PropertyGroup>
6+
<VersionPrefix>$(VersionEFCore10)</VersionPrefix>
7+
<TargetFramework>net10.0</TargetFramework>
8+
<Configurations>Debug;Release;Test</Configurations>
9+
<DefineConstants>$(DefineConstants);EFCORE;EFCORE8;EFCORE10</DefineConstants>
10+
</PropertyGroup>
11+
12+
<ItemGroup>
13+
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="10.0.0" />
14+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="[10.0,)" />
15+
</ItemGroup>
16+
</Project>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<Import Project="../SharedProjectProperties.xml" />
3+
<Import Project="../../Version.xml" />
4+
5+
<PropertyGroup>
6+
<VersionPrefix>$(VersionEFCore9)</VersionPrefix>
7+
<TargetFramework>net8.0</TargetFramework>
8+
<Configurations>Debug;Release;Test</Configurations>
9+
<DefineConstants>$(DefineConstants);EFCORE;EFCORE8;EFCORE9</DefineConstants>
10+
</PropertyGroup>
11+
12+
<ItemGroup>
13+
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="9.0.0" />
14+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="[9.0,)" />
15+
</ItemGroup>
16+
</Project>

src/QueryableValues.SqlServer/ModelCustomizer.cs

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using Microsoft.EntityFrameworkCore.Infrastructure;
44
using Microsoft.EntityFrameworkCore.Metadata.Builders;
55
using System;
6+
using System.Linq;
67

78
namespace BlazarTech.QueryableValues
89
{
@@ -39,8 +40,22 @@ private static void SetupEntity<TEntity>(ModelBuilder modelBuilder, Action<Entit
3940
// By mapping to a fake view, we stop EF from including these entities during
4041
// SQL generation in migrations and by the Create and Drop apis in DbContext.Database.
4142
entity
42-
.ToView(Guid.NewGuid().ToString())
43+
.ToView(GetViewName(typeof(TEntity)))
4344
.HasKey(i => i.X);
45+
46+
static string GetViewName(Type type)
47+
{
48+
if (type.IsGenericType)
49+
{
50+
var typeName = type.FullName?.Substring(0, type.FullName.IndexOf('`')) ?? FallbackName(type);
51+
var args = string.Join(".", type.GetGenericArguments().Select(t => t.Name));
52+
return $"{typeName}.{args}";
53+
}
54+
55+
return type.FullName ?? FallbackName(type);
56+
57+
static string FallbackName(Type type) => $"BlazarTech.QueryableValues.{type.Name}";
58+
}
4459
});
4560
}
4661

src/SharedProjectProperties.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,7 @@
5959
<InternalsVisibleTo Include="BlazarTech.QueryableValues.SqlServer.Tests.EFCore6" />
6060
<InternalsVisibleTo Include="BlazarTech.QueryableValues.SqlServer.Tests.EFCore7" />
6161
<InternalsVisibleTo Include="BlazarTech.QueryableValues.SqlServer.Tests.EFCore8" />
62+
<InternalsVisibleTo Include="BlazarTech.QueryableValues.SqlServer.Tests.EFCore9" />
63+
<InternalsVisibleTo Include="BlazarTech.QueryableValues.SqlServer.Tests.EFCore10" />
6264
</ItemGroup>
6365
</Project>
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<Import Project="../SharedTestProjectProperties.xml" />
3+
4+
<PropertyGroup>
5+
<TargetFrameworks>net10.0</TargetFrameworks>
6+
<AssemblyName>BlazarTech.QueryableValues.SqlServer.Tests.EFCore10</AssemblyName>
7+
<DefineConstants>$(DefineConstants);TESTS;EFCORE8;EFCORE10</DefineConstants>
8+
</PropertyGroup>
9+
10+
<ItemGroup>
11+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
12+
<PackageReference Include="xunit" Version="2.6.2" />
13+
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.4">
14+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
15+
<PrivateAssets>all</PrivateAssets>
16+
</PackageReference>
17+
<PackageReference Include="coverlet.collector" Version="6.0.0">
18+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
19+
<PrivateAssets>all</PrivateAssets>
20+
</PackageReference>
21+
</ItemGroup>
22+
23+
<ItemGroup>
24+
<ProjectReference Include="..\..\src\QueryableValues.SqlServer.EFCore10\QueryableValues.SqlServer.EFCore10.csproj" />
25+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="10.0.0" />
26+
</ItemGroup>
27+
</Project>
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<Import Project="../SharedTestProjectProperties.xml" />
3+
4+
<PropertyGroup>
5+
<TargetFrameworks>net8.0</TargetFrameworks>
6+
<AssemblyName>BlazarTech.QueryableValues.SqlServer.Tests.EFCore9</AssemblyName>
7+
<DefineConstants>$(DefineConstants);TESTS;EFCORE8;EFCORE9</DefineConstants>
8+
</PropertyGroup>
9+
10+
<ItemGroup>
11+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
12+
<PackageReference Include="xunit" Version="2.6.2" />
13+
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.4">
14+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
15+
<PrivateAssets>all</PrivateAssets>
16+
</PackageReference>
17+
<PackageReference Include="coverlet.collector" Version="6.0.0">
18+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
19+
<PrivateAssets>all</PrivateAssets>
20+
</PackageReference>
21+
</ItemGroup>
22+
23+
<ItemGroup>
24+
<ProjectReference Include="..\..\src\QueryableValues.SqlServer.EFCore9\QueryableValues.SqlServer.EFCore9.csproj" />
25+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
26+
</ItemGroup>
27+
</Project>

0 commit comments

Comments
 (0)