diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 823222d..eb945de 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -16,6 +16,10 @@ jobs:
echo "GITHUB_RUN_NUMBER is ${env:GITHUB_RUN_NUMBER}"
- uses: actions/checkout@v2
+
+ - uses: actions/setup-dotnet@v1
+ with:
+ dotnet-version: '7.0.x'
- name: Build Projects
run: |
@@ -23,11 +27,12 @@ jobs:
dotnet build ./src/LinqKit/LinqKit.csproj -c ReleaseForGithubActions
dotnet build ./src/LinqKit.EntityFramework/LinqKit.EntityFramework.csproj -c ReleaseForGithubActions
dotnet build ./src/LinqKit.Microsoft.EntityFrameworkCore/LinqKit.Microsoft.EntityFrameworkCore.csproj -c ReleaseForGithubActions
- dotnet build ./src/LinqKit.Microsoft.EntityFrameworkCore2/LinqKit.Microsoft.EntityFrameworkCore.csproj -c ReleaseForGithubActions
- dotnet build ./src/LinqKit.Microsoft.EntityFrameworkCore3/LinqKit.Microsoft.EntityFrameworkCore.csproj -c ReleaseForGithubActions
- dotnet build ./src/LinqKit.Microsoft.EntityFrameworkCore31/LinqKit.Microsoft.EntityFrameworkCore.csproj -c ReleaseForGithubActions
- dotnet build ./src/LinqKit.Microsoft.EntityFrameworkCore5/LinqKit.Microsoft.EntityFrameworkCore.csproj -c ReleaseForGithubActions
- dotnet build ./src/LinqKit.Microsoft.EntityFrameworkCore6/LinqKit.Microsoft.EntityFrameworkCore.csproj -c ReleaseForGithubActions
+ dotnet build ./src/LinqKit.Microsoft.EntityFrameworkCore2/LinqKit.Microsoft.EntityFrameworkCore2.csproj -c ReleaseForGithubActions
+ dotnet build ./src/LinqKit.Microsoft.EntityFrameworkCore3/LinqKit.Microsoft.EntityFrameworkCore3.csproj -c ReleaseForGithubActions
+ dotnet build ./src/LinqKit.Microsoft.EntityFrameworkCore31/LinqKit.Microsoft.EntityFrameworkCore31.csproj -c ReleaseForGithubActions
+ dotnet build ./src/LinqKit.Microsoft.EntityFrameworkCore5/LinqKit.Microsoft.EntityFrameworkCore5.csproj -c ReleaseForGithubActions
+ dotnet build ./src/LinqKit.Microsoft.EntityFrameworkCore6/LinqKit.Microsoft.EntityFrameworkCore6.csproj -c ReleaseForGithubActions
+ dotnet build ./src/LinqKit.Microsoft.EntityFrameworkCore7/LinqKit.Microsoft.EntityFrameworkCored7.csproj -c ReleaseForGithubActions
dotnet build ./src/LinqKit.Z.EntityFramework.Classic/LinqKit.Z.EntityFramework.Classic.csproj -c ReleaseForGithubActions
- name: Run Tests
@@ -36,4 +41,5 @@ jobs:
dotnet test ./tests/LinqKit.EntityFramework.Tests.Net452/LinqKit.EntityFramework.Tests.Net452.csproj -c ReleaseForGithubActions
dotnet test ./tests/LinqKit.Microsoft.EntityFrameworkCore31.Tests -c ReleaseForGithubActions
dotnet test ./tests/LinqKit.Microsoft.EntityFrameworkCore5.Tests -c ReleaseForGithubActions
- dotnet test ./tests/LinqKit.Microsoft.EntityFrameworkCore6.Tests -c ReleaseForGithubActions
+ dotnet test ./tests/LinqKit.Microsoft.EntityFrameworkCore6.Tests -c ReleaseForGithubActions
+ dotnet test ./tests/LinqKit.Microsoft.EntityFrameworkCore7.Tests -c ReleaseForGithubActions
\ No newline at end of file
diff --git a/LinqKit Solution.sln b/LinqKit Solution.sln
index 2f9edd2..4ad8ca6 100644
--- a/LinqKit Solution.sln
+++ b/LinqKit Solution.sln
@@ -110,6 +110,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AppVeyor", "AppVeyor", "{EE
appveyor.yml = appveyor.yml
EndProjectSection
EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LinqKit.Microsoft.EntityFrameworkCore7", "src\LinqKit.Microsoft.EntityFrameworkCore7\LinqKit.Microsoft.EntityFrameworkCore7.csproj", "{9FA2B3FF-C1F7-457C-A57E-CD635834AEAD}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LinqKit.Microsoft.EntityFrameworkCore7.Tests", "tests\LinqKit.Microsoft.EntityFrameworkCore7.Tests\LinqKit.Microsoft.EntityFrameworkCore7.Tests.csproj", "{B85B8655-37CC-4273-BCF6-7F96D5A25BC5}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -637,6 +641,38 @@ Global
{2D757B6D-C987-4832-94E2-E3D11A1B6D6D}.Release|x64.Build.0 = Release|Any CPU
{2D757B6D-C987-4832-94E2-E3D11A1B6D6D}.Release|x86.ActiveCfg = Release|Any CPU
{2D757B6D-C987-4832-94E2-E3D11A1B6D6D}.Release|x86.Build.0 = Release|Any CPU
+ {9FA2B3FF-C1F7-457C-A57E-CD635834AEAD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9FA2B3FF-C1F7-457C-A57E-CD635834AEAD}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9FA2B3FF-C1F7-457C-A57E-CD635834AEAD}.Debug|ARM.ActiveCfg = Debug|Any CPU
+ {9FA2B3FF-C1F7-457C-A57E-CD635834AEAD}.Debug|ARM.Build.0 = Debug|Any CPU
+ {9FA2B3FF-C1F7-457C-A57E-CD635834AEAD}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {9FA2B3FF-C1F7-457C-A57E-CD635834AEAD}.Debug|x64.Build.0 = Debug|Any CPU
+ {9FA2B3FF-C1F7-457C-A57E-CD635834AEAD}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {9FA2B3FF-C1F7-457C-A57E-CD635834AEAD}.Debug|x86.Build.0 = Debug|Any CPU
+ {9FA2B3FF-C1F7-457C-A57E-CD635834AEAD}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9FA2B3FF-C1F7-457C-A57E-CD635834AEAD}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9FA2B3FF-C1F7-457C-A57E-CD635834AEAD}.Release|ARM.ActiveCfg = Release|Any CPU
+ {9FA2B3FF-C1F7-457C-A57E-CD635834AEAD}.Release|ARM.Build.0 = Release|Any CPU
+ {9FA2B3FF-C1F7-457C-A57E-CD635834AEAD}.Release|x64.ActiveCfg = Release|Any CPU
+ {9FA2B3FF-C1F7-457C-A57E-CD635834AEAD}.Release|x64.Build.0 = Release|Any CPU
+ {9FA2B3FF-C1F7-457C-A57E-CD635834AEAD}.Release|x86.ActiveCfg = Release|Any CPU
+ {9FA2B3FF-C1F7-457C-A57E-CD635834AEAD}.Release|x86.Build.0 = Release|Any CPU
+ {B85B8655-37CC-4273-BCF6-7F96D5A25BC5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B85B8655-37CC-4273-BCF6-7F96D5A25BC5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B85B8655-37CC-4273-BCF6-7F96D5A25BC5}.Debug|ARM.ActiveCfg = Debug|Any CPU
+ {B85B8655-37CC-4273-BCF6-7F96D5A25BC5}.Debug|ARM.Build.0 = Debug|Any CPU
+ {B85B8655-37CC-4273-BCF6-7F96D5A25BC5}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {B85B8655-37CC-4273-BCF6-7F96D5A25BC5}.Debug|x64.Build.0 = Debug|Any CPU
+ {B85B8655-37CC-4273-BCF6-7F96D5A25BC5}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {B85B8655-37CC-4273-BCF6-7F96D5A25BC5}.Debug|x86.Build.0 = Debug|Any CPU
+ {B85B8655-37CC-4273-BCF6-7F96D5A25BC5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B85B8655-37CC-4273-BCF6-7F96D5A25BC5}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B85B8655-37CC-4273-BCF6-7F96D5A25BC5}.Release|ARM.ActiveCfg = Release|Any CPU
+ {B85B8655-37CC-4273-BCF6-7F96D5A25BC5}.Release|ARM.Build.0 = Release|Any CPU
+ {B85B8655-37CC-4273-BCF6-7F96D5A25BC5}.Release|x64.ActiveCfg = Release|Any CPU
+ {B85B8655-37CC-4273-BCF6-7F96D5A25BC5}.Release|x64.Build.0 = Release|Any CPU
+ {B85B8655-37CC-4273-BCF6-7F96D5A25BC5}.Release|x86.ActiveCfg = Release|Any CPU
+ {B85B8655-37CC-4273-BCF6-7F96D5A25BC5}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -677,6 +713,8 @@ Global
{84FE1714-2551-4094-A4C1-1C1ADC16339D} = {2F7F283D-5576-417F-A467-EC210226AC3B}
{2D757B6D-C987-4832-94E2-E3D11A1B6D6D} = {0BE21A11-8EF0-404B-AFC0-533A62386C4C}
{EE0B5A0E-533F-47B7-8D42-4D7B0D3D78F3} = {9FC09568-C879-47D8-9D28-E736B8A84C95}
+ {9FA2B3FF-C1F7-457C-A57E-CD635834AEAD} = {2F7F283D-5576-417F-A467-EC210226AC3B}
+ {B85B8655-37CC-4273-BCF6-7F96D5A25BC5} = {0BE21A11-8EF0-404B-AFC0-533A62386C4C}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {8F6283C5-9029-434E-BD90-E95FB377DA9B}
diff --git a/README.md b/README.md
index ba2f2a6..8f16d21 100644
--- a/README.md
+++ b/README.md
@@ -17,6 +17,7 @@
| LinqKit.Microsoft.EntityFrameworkCore 3 | [![Nuget](https://img.shields.io/badge/nuget-v3.1.0-blue) ![Nuget](https://img.shields.io/nuget/dt/LinqKit.Microsoft.EntityFrameworkCore)](https://www.nuget.org/packages/LinqKit.Microsoft.EntityFrameworkCore/3.1.0) | Microsoft.EntityFrameworkCore
- ≥ 3.0.1 (netstandard2.0)
- ≥ 3.0.0 (netstandard2.1) |
- netstandard2.0
- netstandard2.1
|
| LinqKit.Microsoft.EntityFrameworkCore 5 | [![Nuget](https://img.shields.io/badge/nuget-v5.1.0-blue) ![Nuget](https://img.shields.io/nuget/dt/LinqKit.Microsoft.EntityFrameworkCore)](https://www.nuget.org/packages/LinqKit.Microsoft.EntityFrameworkCore/5.1.0) | Microsoft.EntityFrameworkCore | |
| LinqKit.Microsoft.EntityFrameworkCore 6 | [![Nuget](https://img.shields.io/badge/nuget-v6.1.0-blue) ![Nuget](https://img.shields.io/nuget/dt/LinqKit.Microsoft.EntityFrameworkCore)](https://www.nuget.org/packages/LinqKit.Microsoft.EntityFrameworkCore/6.1.0) | Microsoft.EntityFrameworkCore | |
+| LinqKit.Microsoft.EntityFrameworkCore 7 | [![Nuget](https://img.shields.io/badge/nuget-v7.1.0-blue) ![Nuget](https://img.shields.io/nuget/dt/LinqKit.Microsoft.EntityFrameworkCore)](https://www.nuget.org/packages/LinqKit.Microsoft.EntityFrameworkCore/7.0.0) | Microsoft.EntityFrameworkCore | |
| LinqKit.Z.EntityFramework.Classic | [![Nuget](https://img.shields.io/nuget/v/LinqKit.Z.EntityFramework.Classic) ![Nuget](https://img.shields.io/nuget/dt/LinqKit.Z.EntityFramework.Classic)](https://www.nuget.org/packages/LinqKit.Z.EntityFramework.Classic) | Z.EntityFramework.Classic | |
diff --git a/src/LinqKit.Core/ExpressionStarter.cs b/src/LinqKit.Core/ExpressionStarter.cs
index 326eff2..96ac5b5 100644
--- a/src/LinqKit.Core/ExpressionStarter.cs
+++ b/src/LinqKit.Core/ExpressionStarter.cs
@@ -165,7 +165,7 @@ public static implicit operator ExpressionStarter(Expression> r
public bool TailCall => Predicate.TailCall;
#endif
-#if !(NET35 || WINDOWS_APP || NETSTANDARD || PORTABLE || PORTABLE40 || UAP || EFCORE6)
+#if !(NET35 || WINDOWS_APP || NETSTANDARD || PORTABLE || PORTABLE40 || UAP || EFCORE6 || EFCORE7)
///
[Pure]
public void CompileToMethod(MethodBuilder method) { Predicate.CompileToMethod(method); }
diff --git a/src/LinqKit.Core/LinqKit.Core.csproj b/src/LinqKit.Core/LinqKit.Core.csproj
index 1ad9d5e..1b9b2dd 100644
--- a/src/LinqKit.Core/LinqKit.Core.csproj
+++ b/src/LinqKit.Core/LinqKit.Core.csproj
@@ -1,214 +1,219 @@
-
-
-
- 1.2.$(PatchVersion)
- LinqKit.Core contains extensions for LINQ to SQL and Entity Framework. Note that Include(...), IAsync and IDbAsync are not supported.
- LinqKit.Core
- Joseph Albahari;Tomas Petricek;Scott Smith;Tuomas Hietanen;Stef Heyenrath
- net35;net40;net45;portable-net40+win8+wpa81+wp8+sl5;portable-net45+win8+wpa81+wp8;uap10.0;netstandard1.3;netstandard2.0;netstandard2.1
- true
- LinqKit.Core
- LinqKit
- ../LinqKit.Net45/LinqKit.snk
- true
- true
- LinqKit.Core
- linq;EF;EntityFramework;Entity;Framework;EntityFrameworkCore
- https://github.com/scottksmith95/LINQKit
- MIT
- git
- false
- false
- false
- $(DefineConstants);NOEF
-
-
-
- net40;net45;netstandard1.3;netstandard2.0;netstandard2.1
-
-
-
-
- https://github.com/scottksmith95/LINQKit
-
-
-
-
- All
-
-
-
-
- $(MSBuildProjectDirectory)=/
- true
-
-
-
-
- <_Parameter1>
- LinqKit, PublicKey=002400000480000094000000060200000024000052534131000400000100010009af226acf80fc92af220b3e8080830297eeb9711ca1d8cf2a567c211dfdae8bd2fd7e37777b3d0368e8b6c4ed7252ad4f19f3eb38a3f26a0bbc7016d064bf0a111a40058e97239c11d8c2cdc1e93367f862a5e0166253463f90adba77c183cc8334d07198b8e80c69022f9bc6b260de3b1753c33b587e8c51175e1f6a1152d2
-
-
-
- <_Parameter1>
- LinqKit.EntityFramework, PublicKey=00240000048000009400000006020000002400005253413100040000010001009520f2954a09e74f547e940936cfc0f56d807290d1294c235fd2013f1de9afd650da9e862e6349857c80e619b9ea119546b0e9a8cbd700d6f5cbbf5709a1fee527c9b6c1ece7ef6f1d45dcb5b8a23d3a9483ab49d5254affd7b894aaa494b28e8b98ae54dfc802737cf5c5035d3507f4bf8c3877d86709ae9c615ebe089621b5
-
-
-
- <_Parameter1>
- LinqKit.Microsoft.EntityFrameworkCore, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f77c6bb1a3b2c5b07d843b1c9b845dffcce043e3711d17877ed730ad2e53983b3ed7c1346673cc9d3953a430334fa3c8ce73430ef58a930de917f6d34251a145f4f267d535ea2f797e717d7ce9684711888cc788cf71b4c03b531f52a88ab70e52b6e1fb783f0ef8b0c6afe55b573bf3f4982088325448aef8f3b1fea5d5a7c8
-
-
-
- <_Parameter1>
- LinqKit.Microsoft.EntityFrameworkCore2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f77c6bb1a3b2c5b07d843b1c9b845dffcce043e3711d17877ed730ad2e53983b3ed7c1346673cc9d3953a430334fa3c8ce73430ef58a930de917f6d34251a145f4f267d535ea2f797e717d7ce9684711888cc788cf71b4c03b531f52a88ab70e52b6e1fb783f0ef8b0c6afe55b573bf3f4982088325448aef8f3b1fea5d5a7c8
-
-
-
- <_Parameter1>
- LinqKit.Microsoft.EntityFrameworkCore3, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f77c6bb1a3b2c5b07d843b1c9b845dffcce043e3711d17877ed730ad2e53983b3ed7c1346673cc9d3953a430334fa3c8ce73430ef58a930de917f6d34251a145f4f267d535ea2f797e717d7ce9684711888cc788cf71b4c03b531f52a88ab70e52b6e1fb783f0ef8b0c6afe55b573bf3f4982088325448aef8f3b1fea5d5a7c8
-
-
-
- <_Parameter1>
- LinqKit.Microsoft.EntityFrameworkCore31, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f77c6bb1a3b2c5b07d843b1c9b845dffcce043e3711d17877ed730ad2e53983b3ed7c1346673cc9d3953a430334fa3c8ce73430ef58a930de917f6d34251a145f4f267d535ea2f797e717d7ce9684711888cc788cf71b4c03b531f52a88ab70e52b6e1fb783f0ef8b0c6afe55b573bf3f4982088325448aef8f3b1fea5d5a7c8
-
-
-
- <_Parameter1>
- LinqKit.Microsoft.EntityFrameworkCore5, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f77c6bb1a3b2c5b07d843b1c9b845dffcce043e3711d17877ed730ad2e53983b3ed7c1346673cc9d3953a430334fa3c8ce73430ef58a930de917f6d34251a145f4f267d535ea2f797e717d7ce9684711888cc788cf71b4c03b531f52a88ab70e52b6e1fb783f0ef8b0c6afe55b573bf3f4982088325448aef8f3b1fea5d5a7c8
-
-
-
- <_Parameter1>
- LinqKit.Microsoft.EntityFrameworkCore6, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f77c6bb1a3b2c5b07d843b1c9b845dffcce043e3711d17877ed730ad2e53983b3ed7c1346673cc9d3953a430334fa3c8ce73430ef58a930de917f6d34251a145f4f267d535ea2f797e717d7ce9684711888cc788cf71b4c03b531f52a88ab70e52b6e1fb783f0ef8b0c6afe55b573bf3f4982088325448aef8f3b1fea5d5a7c8
-
-
-
- <_Parameter1>
- LinqKit.Net35, PublicKey=002400000480000094000000060200000024000052534131000400000100010009af226acf80fc92af220b3e8080830297eeb9711ca1d8cf2a567c211dfdae8bd2fd7e37777b3d0368e8b6c4ed7252ad4f19f3eb38a3f26a0bbc7016d064bf0a111a40058e97239c11d8c2cdc1e93367f862a5e0166253463f90adba77c183cc8334d07198b8e80c69022f9bc6b260de3b1753c33b587e8c51175e1f6a1152d2
-
-
-
- <_Parameter1>
- LinqKit.Net45, PublicKey=002400000480000094000000060200000024000052534131000400000100010009af226acf80fc92af220b3e8080830297eeb9711ca1d8cf2a567c211dfdae8bd2fd7e37777b3d0368e8b6c4ed7252ad4f19f3eb38a3f26a0bbc7016d064bf0a111a40058e97239c11d8c2cdc1e93367f862a5e0166253463f90adba77c183cc8334d07198b8e80c69022f9bc6b260de3b1753c33b587e8c51175e1f6a1152d2
-
-
-
- <_Parameter1>
- LinqKit.Z.EntityFramework.Classic, PublicKey=00240000048000009400000006020000002400005253413100040000010001009520f2954a09e74f547e940936cfc0f56d807290d1294c235fd2013f1de9afd650da9e862e6349857c80e619b9ea119546b0e9a8cbd700d6f5cbbf5709a1fee527c9b6c1ece7ef6f1d45dcb5b8a23d3a9483ab49d5254affd7b894aaa494b28e8b98ae54dfc802737cf5c5035d3507f4bf8c3877d86709ae9c615ebe089621b5
-
-
-
-
-
-
- All
-
-
-
-
-
-
- All
-
-
-
-
-
-
-
-
- All
-
-
-
-
-
-
-
- All
-
-
-
-
-
-
-
-
-
- All
-
-
-
-
-
-
-
-
- All
-
-
-
-
-
-
-
-
-
-
-
-
- All
-
-
-
-
-
- All
-
-
-
-
-
-
-
-
-
-
-
- $(DefineConstants);NETSTANDARD
-
-
-
- false
- UAP,Version=v10.0
- UAP
- 10.0.19041.0
- 10.0.10240.0
- .NETCore
- v5.0
- $(DefineConstants);WINDOWS_UWP;UAP10_0;UAP
- $(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets
-
-
-
- $(DefineConstants);PORTABLE40
- .NETPortable
- v4.0
- Profile328
- .NETPortable,Version=v0.0,Profile=Profile328
- $(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets
-
-
-
- $(DefineConstants);PORTABLE
- .NETPortable
- v4.5
- Profile259
- .NETPortable,Version=v0.0,Profile=Profile259
- $(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets
-
+
+
+
+ 1.2.$(PatchVersion)
+ LinqKit.Core contains extensions for LINQ to SQL and Entity Framework. Note that Include(...), IAsync and IDbAsync are not supported.
+ LinqKit.Core
+ Joseph Albahari;Tomas Petricek;Scott Smith;Tuomas Hietanen;Stef Heyenrath
+ net35;net40;net45;portable-net40+win8+wpa81+wp8+sl5;portable-net45+win8+wpa81+wp8;uap10.0;netstandard1.3;netstandard2.0;netstandard2.1
+ true
+ LinqKit.Core
+ LinqKit
+ ../LinqKit.Net45/LinqKit.snk
+ true
+ true
+ LinqKit.Core
+ linq;EF;EntityFramework;Entity;Framework;EntityFrameworkCore
+ https://github.com/scottksmith95/LINQKit
+ MIT
+ git
+ false
+ false
+ false
+ $(DefineConstants);NOEF
+
+
+
+ net40;net45;netstandard1.3;netstandard2.0;netstandard2.1
+
+
+
+
+ https://github.com/scottksmith95/LINQKit
+
+
+
+
+ All
+
+
+
+
+ $(MSBuildProjectDirectory)=/
+ true
+
+
+
+
+ <_Parameter1>
+ LinqKit, PublicKey=002400000480000094000000060200000024000052534131000400000100010009af226acf80fc92af220b3e8080830297eeb9711ca1d8cf2a567c211dfdae8bd2fd7e37777b3d0368e8b6c4ed7252ad4f19f3eb38a3f26a0bbc7016d064bf0a111a40058e97239c11d8c2cdc1e93367f862a5e0166253463f90adba77c183cc8334d07198b8e80c69022f9bc6b260de3b1753c33b587e8c51175e1f6a1152d2
+
+
+
+ <_Parameter1>
+ LinqKit.EntityFramework, PublicKey=00240000048000009400000006020000002400005253413100040000010001009520f2954a09e74f547e940936cfc0f56d807290d1294c235fd2013f1de9afd650da9e862e6349857c80e619b9ea119546b0e9a8cbd700d6f5cbbf5709a1fee527c9b6c1ece7ef6f1d45dcb5b8a23d3a9483ab49d5254affd7b894aaa494b28e8b98ae54dfc802737cf5c5035d3507f4bf8c3877d86709ae9c615ebe089621b5
+
+
+
+ <_Parameter1>
+ LinqKit.Microsoft.EntityFrameworkCore, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f77c6bb1a3b2c5b07d843b1c9b845dffcce043e3711d17877ed730ad2e53983b3ed7c1346673cc9d3953a430334fa3c8ce73430ef58a930de917f6d34251a145f4f267d535ea2f797e717d7ce9684711888cc788cf71b4c03b531f52a88ab70e52b6e1fb783f0ef8b0c6afe55b573bf3f4982088325448aef8f3b1fea5d5a7c8
+
+
+
+ <_Parameter1>
+ LinqKit.Microsoft.EntityFrameworkCore2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f77c6bb1a3b2c5b07d843b1c9b845dffcce043e3711d17877ed730ad2e53983b3ed7c1346673cc9d3953a430334fa3c8ce73430ef58a930de917f6d34251a145f4f267d535ea2f797e717d7ce9684711888cc788cf71b4c03b531f52a88ab70e52b6e1fb783f0ef8b0c6afe55b573bf3f4982088325448aef8f3b1fea5d5a7c8
+
+
+
+ <_Parameter1>
+ LinqKit.Microsoft.EntityFrameworkCore3, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f77c6bb1a3b2c5b07d843b1c9b845dffcce043e3711d17877ed730ad2e53983b3ed7c1346673cc9d3953a430334fa3c8ce73430ef58a930de917f6d34251a145f4f267d535ea2f797e717d7ce9684711888cc788cf71b4c03b531f52a88ab70e52b6e1fb783f0ef8b0c6afe55b573bf3f4982088325448aef8f3b1fea5d5a7c8
+
+
+
+ <_Parameter1>
+ LinqKit.Microsoft.EntityFrameworkCore31, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f77c6bb1a3b2c5b07d843b1c9b845dffcce043e3711d17877ed730ad2e53983b3ed7c1346673cc9d3953a430334fa3c8ce73430ef58a930de917f6d34251a145f4f267d535ea2f797e717d7ce9684711888cc788cf71b4c03b531f52a88ab70e52b6e1fb783f0ef8b0c6afe55b573bf3f4982088325448aef8f3b1fea5d5a7c8
+
+
+
+ <_Parameter1>
+ LinqKit.Microsoft.EntityFrameworkCore5, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f77c6bb1a3b2c5b07d843b1c9b845dffcce043e3711d17877ed730ad2e53983b3ed7c1346673cc9d3953a430334fa3c8ce73430ef58a930de917f6d34251a145f4f267d535ea2f797e717d7ce9684711888cc788cf71b4c03b531f52a88ab70e52b6e1fb783f0ef8b0c6afe55b573bf3f4982088325448aef8f3b1fea5d5a7c8
+
+
+
+ <_Parameter1>
+ LinqKit.Microsoft.EntityFrameworkCore6, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f77c6bb1a3b2c5b07d843b1c9b845dffcce043e3711d17877ed730ad2e53983b3ed7c1346673cc9d3953a430334fa3c8ce73430ef58a930de917f6d34251a145f4f267d535ea2f797e717d7ce9684711888cc788cf71b4c03b531f52a88ab70e52b6e1fb783f0ef8b0c6afe55b573bf3f4982088325448aef8f3b1fea5d5a7c8
+
+
+
+ <_Parameter1>
+ LinqKit.Microsoft.EntityFrameworkCore7, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f77c6bb1a3b2c5b07d843b1c9b845dffcce043e3711d17877ed730ad2e53983b3ed7c1346673cc9d3953a430334fa3c8ce73430ef58a930de917f6d34251a145f4f267d535ea2f797e717d7ce9684711888cc788cf71b4c03b531f52a88ab70e52b6e1fb783f0ef8b0c6afe55b573bf3f4982088325448aef8f3b1fea5d5a7c8
+
+
+
+ <_Parameter1>
+ LinqKit.Net35, PublicKey=002400000480000094000000060200000024000052534131000400000100010009af226acf80fc92af220b3e8080830297eeb9711ca1d8cf2a567c211dfdae8bd2fd7e37777b3d0368e8b6c4ed7252ad4f19f3eb38a3f26a0bbc7016d064bf0a111a40058e97239c11d8c2cdc1e93367f862a5e0166253463f90adba77c183cc8334d07198b8e80c69022f9bc6b260de3b1753c33b587e8c51175e1f6a1152d2
+
+
+
+ <_Parameter1>
+ LinqKit.Net45, PublicKey=002400000480000094000000060200000024000052534131000400000100010009af226acf80fc92af220b3e8080830297eeb9711ca1d8cf2a567c211dfdae8bd2fd7e37777b3d0368e8b6c4ed7252ad4f19f3eb38a3f26a0bbc7016d064bf0a111a40058e97239c11d8c2cdc1e93367f862a5e0166253463f90adba77c183cc8334d07198b8e80c69022f9bc6b260de3b1753c33b587e8c51175e1f6a1152d2
+
+
+
+ <_Parameter1>
+ LinqKit.Z.EntityFramework.Classic, PublicKey=00240000048000009400000006020000002400005253413100040000010001009520f2954a09e74f547e940936cfc0f56d807290d1294c235fd2013f1de9afd650da9e862e6349857c80e619b9ea119546b0e9a8cbd700d6f5cbbf5709a1fee527c9b6c1ece7ef6f1d45dcb5b8a23d3a9483ab49d5254affd7b894aaa494b28e8b98ae54dfc802737cf5c5035d3507f4bf8c3877d86709ae9c615ebe089621b5
+
+
+
+
+
+
+ All
+
+
+
+
+
+
+ All
+
+
+
+
+
+
+
+
+ All
+
+
+
+
+
+
+
+ All
+
+
+
+
+
+
+
+
+
+ All
+
+
+
+
+
+
+
+
+ All
+
+
+
+
+
+
+
+
+
+
+
+
+ All
+
+
+
+
+
+ All
+
+
+
+
+
+
+
+
+
+
+
+ $(DefineConstants);NETSTANDARD
+
+
+
+ false
+ UAP,Version=v10.0
+ UAP
+ 10.0.19041.0
+ 10.0.10240.0
+ .NETCore
+ v5.0
+ $(DefineConstants);WINDOWS_UWP;UAP10_0;UAP
+ $(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets
+
+
+
+ $(DefineConstants);PORTABLE40
+ .NETPortable
+ v4.0
+ Profile328
+ .NETPortable,Version=v0.0,Profile=Profile328
+ $(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets
+
+
+
+ $(DefineConstants);PORTABLE
+ .NETPortable
+ v4.5
+ Profile259
+ .NETPortable,Version=v0.0,Profile=Profile259
+ $(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets
+
\ No newline at end of file
diff --git a/src/LinqKit.Microsoft.EntityFrameworkCore/ExpandableDbContextOptionsExtension.cs b/src/LinqKit.Microsoft.EntityFrameworkCore/ExpandableDbContextOptionsExtension.cs
index 846ef0d..9fdaee2 100644
--- a/src/LinqKit.Microsoft.EntityFrameworkCore/ExpandableDbContextOptionsExtension.cs
+++ b/src/LinqKit.Microsoft.EntityFrameworkCore/ExpandableDbContextOptionsExtension.cs
@@ -1,5 +1,4 @@
-#if EFCORE3 || EFCORE5 || EFCORE6
-
+#if EFCORE3 || EFCORE5 || EFCORE6 || EFCORE7
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Infrastructure;
@@ -59,7 +58,7 @@ public void Validate(IDbContextOptions options)
private class ExtensionInfo : DbContextOptionsExtensionInfo
{
- private const string EntensionName = "LINQKitExpandable";
+ private const string ExtensionName = "LINQKitExpandable";
public ExtensionInfo(IDbContextOptionsExtension extension)
: base(extension)
@@ -70,18 +69,18 @@ public override bool IsDatabaseProvider
=> false;
public override string LogFragment
- => EntensionName;
+ => ExtensionName;
-#if EFCORE6
+#if EFCORE6 || EFCORE7
public override bool ShouldUseSameServiceProvider(DbContextOptionsExtensionInfo info)
=> true;
public override int GetServiceProviderHashCode()
- => EntensionName.GetHashCode();
+ => ExtensionName.GetHashCode();
#else
public override long GetServiceProviderHashCode()
- => EntensionName.GetHashCode();
+ => ExtensionName.GetHashCode();
#endif
public override void PopulateDebugInfo(IDictionary debugInfo)
@@ -90,5 +89,4 @@ public override void PopulateDebugInfo(IDictionary debugInfo)
}
}
}
-
#endif
\ No newline at end of file
diff --git a/src/LinqKit.Microsoft.EntityFrameworkCore6/LinqKit.Microsoft.EntityFrameworkCore6.csproj b/src/LinqKit.Microsoft.EntityFrameworkCore6/LinqKit.Microsoft.EntityFrameworkCore6.csproj
index e6ea150..7217eef 100644
--- a/src/LinqKit.Microsoft.EntityFrameworkCore6/LinqKit.Microsoft.EntityFrameworkCore6.csproj
+++ b/src/LinqKit.Microsoft.EntityFrameworkCore6/LinqKit.Microsoft.EntityFrameworkCore6.csproj
@@ -3,7 +3,7 @@
6.1.$(PatchVersion)
- $(DefineConstants);EFCORE;EFCORE3;EFCORE5;EFCORE6
+ $(DefineConstants);EFCORE;EFCORE3;EFCORE5;EFCORE6;EFCORE7
LinqKit.Microsoft.EntityFrameworkCore contains extensions for LINQ to SQL and EntityFrameworkCore. With Include(...) and IDbAsync support.
LinqKit for Microsoft.EntityFrameworkCore with Include(...) and IAsync support.
Joseph Albahari;Tomas Petricek;Scott Smith;Tuomas Hietanen;Stef Heyenrath
diff --git a/src/LinqKit.Microsoft.EntityFrameworkCore7/LinqKit.Microsoft.EntityFrameworkCore7.csproj b/src/LinqKit.Microsoft.EntityFrameworkCore7/LinqKit.Microsoft.EntityFrameworkCore7.csproj
new file mode 100644
index 0000000..cd11192
--- /dev/null
+++ b/src/LinqKit.Microsoft.EntityFrameworkCore7/LinqKit.Microsoft.EntityFrameworkCore7.csproj
@@ -0,0 +1,49 @@
+
+
+
+
+ 7.1.$(PatchVersion)
+ $(DefineConstants);EFCORE;EFCORE3;EFCORE5;EFCORE6;EFCORE7
+ LinqKit.Microsoft.EntityFrameworkCore contains extensions for LINQ to SQL and EntityFrameworkCore. With Include(...) and IDbAsync support.
+ LinqKit for Microsoft.EntityFrameworkCore with Include(...) and IAsync support.
+ Joseph Albahari;Tomas Petricek;Scott Smith;Tuomas Hietanen;Stef Heyenrath
+ net6.0;net7.0
+ true
+ LinqKit.Microsoft.EntityFrameworkCore
+ ../LinqKit.Microsoft.EntityFrameworkCore/LinqKit.Microsoft.EntityFrameworkCore.snk
+ true
+ true
+ LinqKit.Microsoft.EntityFrameworkCore
+ linq;EF;EntityFramework;Entity;Framework;Core;EntityFrameworkCore
+ https://github.com/scottksmith95/LINQKit
+ MIT
+ git
+ https://github.com/scottksmith95/LINQKit
+ LinqKit
+
+
+
+ $(MSBuildProjectDirectory)=/
+ true
+
+
+
+
+
+
+
+
+
+ All
+
+
+
+ All
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/LinqKit.Microsoft.EntityFrameworkCore7.Tests/LinqKit.Microsoft.EntityFrameworkCore7.Tests.csproj b/tests/LinqKit.Microsoft.EntityFrameworkCore7.Tests/LinqKit.Microsoft.EntityFrameworkCore7.Tests.csproj
new file mode 100644
index 0000000..1cbd46e
--- /dev/null
+++ b/tests/LinqKit.Microsoft.EntityFrameworkCore7.Tests/LinqKit.Microsoft.EntityFrameworkCore7.Tests.csproj
@@ -0,0 +1,36 @@
+
+
+
+ Stef Heyenrath
+ net7.0
+ LinqKit.Microsoft.EntityFrameworkCore6.Tests
+ LinqKit.Microsoft.EntityFrameworkCore6.Tests
+ true
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+ %(RecursiveDir)%(Filename)%(Extension)
+
+
+
+
+
+
+
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/LinqKit.Microsoft.EntityFrameworkCore7.Tests/Properties/AssemblyInfo.cs b/tests/LinqKit.Microsoft.EntityFrameworkCore7.Tests/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..6c84da2
--- /dev/null
+++ b/tests/LinqKit.Microsoft.EntityFrameworkCore7.Tests/Properties/AssemblyInfo.cs
@@ -0,0 +1,19 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("LinqKit.Microsoft.EntityFrameworkCore.Tests")]
+[assembly: AssemblyTrademark("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("1c9b4645-b402-437f-8b89-dbcafcb5cef7")]