diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 567c0f6..846ac90 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,6 +23,7 @@ jobs: 6.0.x 7.0.x 8.0.x + 9.0.x - name: Build Projects run: | @@ -37,6 +38,7 @@ jobs: 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.Microsoft.EntityFrameworkCore8/LinqKit.Microsoft.EntityFrameworkCored8.csproj -c ReleaseForGithubActions + dotnet build ./src/LinqKit.Microsoft.EntityFrameworkCore8/LinqKit.Microsoft.EntityFrameworkCored9.csproj -c ReleaseForGithubActions dotnet build ./src/LinqKit.Z.EntityFramework.Classic/LinqKit.Z.EntityFramework.Classic.csproj -c ReleaseForGithubActions - name: Run Tests @@ -47,4 +49,5 @@ jobs: dotnet test ./tests/LinqKit.Microsoft.EntityFrameworkCore5.Tests -c ReleaseForGithubActions dotnet test ./tests/LinqKit.Microsoft.EntityFrameworkCore6.Tests -c ReleaseForGithubActions dotnet test ./tests/LinqKit.Microsoft.EntityFrameworkCore7.Tests -c ReleaseForGithubActions - dotnet test ./tests/LinqKit.Microsoft.EntityFrameworkCore8.Tests -c ReleaseForGithubActions \ No newline at end of file + dotnet test ./tests/LinqKit.Microsoft.EntityFrameworkCore8.Tests -c ReleaseForGithubActions + dotnet test ./tests/LinqKit.Microsoft.EntityFrameworkCore9.Tests -c ReleaseForGithubActions \ No newline at end of file diff --git a/LinqKit Solution.sln b/LinqKit Solution.sln index 6dc2de8..9c49c50 100644 --- a/LinqKit Solution.sln +++ b/LinqKit Solution.sln @@ -113,6 +113,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LinqKit.Microsoft.EntityFra EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LinqKit.Microsoft.EntityFrameworkCore8.Tests", "tests\LinqKit.Microsoft.EntityFrameworkCore8.Tests\LinqKit.Microsoft.EntityFrameworkCore8.Tests.csproj", "{4052A1DE-FE04-4939-9602-172ED0F54D74}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LinqKit.Microsoft.EntityFrameworkCore9", "src\LinqKit.Microsoft.EntityFrameworkCore9\LinqKit.Microsoft.EntityFrameworkCore9.csproj", "{AC3816A2-410E-447D-9747-3368719F01C7}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -704,6 +706,22 @@ Global {4052A1DE-FE04-4939-9602-172ED0F54D74}.Release|x64.Build.0 = Release|Any CPU {4052A1DE-FE04-4939-9602-172ED0F54D74}.Release|x86.ActiveCfg = Release|Any CPU {4052A1DE-FE04-4939-9602-172ED0F54D74}.Release|x86.Build.0 = Release|Any CPU + {AC3816A2-410E-447D-9747-3368719F01C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AC3816A2-410E-447D-9747-3368719F01C7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AC3816A2-410E-447D-9747-3368719F01C7}.Debug|ARM.ActiveCfg = Debug|Any CPU + {AC3816A2-410E-447D-9747-3368719F01C7}.Debug|ARM.Build.0 = Debug|Any CPU + {AC3816A2-410E-447D-9747-3368719F01C7}.Debug|x64.ActiveCfg = Debug|Any CPU + {AC3816A2-410E-447D-9747-3368719F01C7}.Debug|x64.Build.0 = Debug|Any CPU + {AC3816A2-410E-447D-9747-3368719F01C7}.Debug|x86.ActiveCfg = Debug|Any CPU + {AC3816A2-410E-447D-9747-3368719F01C7}.Debug|x86.Build.0 = Debug|Any CPU + {AC3816A2-410E-447D-9747-3368719F01C7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AC3816A2-410E-447D-9747-3368719F01C7}.Release|Any CPU.Build.0 = Release|Any CPU + {AC3816A2-410E-447D-9747-3368719F01C7}.Release|ARM.ActiveCfg = Release|Any CPU + {AC3816A2-410E-447D-9747-3368719F01C7}.Release|ARM.Build.0 = Release|Any CPU + {AC3816A2-410E-447D-9747-3368719F01C7}.Release|x64.ActiveCfg = Release|Any CPU + {AC3816A2-410E-447D-9747-3368719F01C7}.Release|x64.Build.0 = Release|Any CPU + {AC3816A2-410E-447D-9747-3368719F01C7}.Release|x86.ActiveCfg = Release|Any CPU + {AC3816A2-410E-447D-9747-3368719F01C7}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -747,6 +765,7 @@ Global {B85B8655-37CC-4273-BCF6-7F96D5A25BC5} = {0BE21A11-8EF0-404B-AFC0-533A62386C4C} {001EA7F4-182C-4D16-B876-23AE9633FD3E} = {2F7F283D-5576-417F-A467-EC210226AC3B} {4052A1DE-FE04-4939-9602-172ED0F54D74} = {0BE21A11-8EF0-404B-AFC0-533A62386C4C} + {AC3816A2-410E-447D-9747-3368719F01C7} = {2F7F283D-5576-417F-A467-EC210226AC3B} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {8F6283C5-9029-434E-BD90-E95FB377DA9B} diff --git a/README.md b/README.md index de2f9ef..dd3a95f 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ | LinqKit.Microsoft.EntityFrameworkCore 6 | [![Nuget](https://img.shields.io/badge/nuget-v6.1.5-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.5-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.Microsoft.EntityFrameworkCore 8 | [![Nuget](https://img.shields.io/badge/nuget-v8.1.5-blue) ![Nuget](https://img.shields.io/nuget/dt/LinqKit.Microsoft.EntityFrameworkCore)](https://www.nuget.org/packages/LinqKit.Microsoft.EntityFrameworkCore/8.0.0) | Microsoft.EntityFrameworkCore | | +| LinqKit.Microsoft.EntityFrameworkCore 9 | [![Nuget](https://img.shields.io/badge/nuget-v8.1.5-blue) ![Nuget](https://img.shields.io/nuget/dt/LinqKit.Microsoft.EntityFrameworkCore)](https://www.nuget.org/packages/LinqKit.Microsoft.EntityFrameworkCore/9.1.5) | 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/LinqKit.Core.csproj b/src/LinqKit.Core/LinqKit.Core.csproj index 0894f76..6f3a67c 100644 --- a/src/LinqKit.Core/LinqKit.Core.csproj +++ b/src/LinqKit.Core/LinqKit.Core.csproj @@ -95,6 +95,11 @@ LinqKit.Microsoft.EntityFrameworkCore8, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f77c6bb1a3b2c5b07d843b1c9b845dffcce043e3711d17877ed730ad2e53983b3ed7c1346673cc9d3953a430334fa3c8ce73430ef58a930de917f6d34251a145f4f267d535ea2f797e717d7ce9684711888cc788cf71b4c03b531f52a88ab70e52b6e1fb783f0ef8b0c6afe55b573bf3f4982088325448aef8f3b1fea5d5a7c8 + + <_Parameter1> + LinqKit.Microsoft.EntityFrameworkCore9, PublicKey=0024000004800000940000000602000000240000525341310004000001000100f77c6bb1a3b2c5b07d843b1c9b845dffcce043e3711d17877ed730ad2e53983b3ed7c1346673cc9d3953a430334fa3c8ce73430ef58a930de917f6d34251a145f4f267d535ea2f797e717d7ce9684711888cc788cf71b4c03b531f52a88ab70e52b6e1fb783f0ef8b0c6afe55b573bf3f4982088325448aef8f3b1fea5d5a7c8 + + <_Parameter1> LinqKit.Net35, PublicKey=002400000480000094000000060200000024000052534131000400000100010009af226acf80fc92af220b3e8080830297eeb9711ca1d8cf2a567c211dfdae8bd2fd7e37777b3d0368e8b6c4ed7252ad4f19f3eb38a3f26a0bbc7016d064bf0a111a40058e97239c11d8c2cdc1e93367f862a5e0166253463f90adba77c183cc8334d07198b8e80c69022f9bc6b260de3b1753c33b587e8c51175e1f6a1152d2 diff --git a/src/LinqKit.Microsoft.EntityFrameworkCore9/LinqKit.Microsoft.EntityFrameworkCore9.csproj b/src/LinqKit.Microsoft.EntityFrameworkCore9/LinqKit.Microsoft.EntityFrameworkCore9.csproj new file mode 100644 index 0000000..751fe9e --- /dev/null +++ b/src/LinqKit.Microsoft.EntityFrameworkCore9/LinqKit.Microsoft.EntityFrameworkCore9.csproj @@ -0,0 +1,49 @@ + + + + + 9.0.$(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 + net9.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.EntityFrameworkCore9.Tests/LinqKit.Microsoft.EntityFrameworkCore9.Tests.csproj b/tests/LinqKit.Microsoft.EntityFrameworkCore9.Tests/LinqKit.Microsoft.EntityFrameworkCore9.Tests.csproj new file mode 100644 index 0000000..7cb4929 --- /dev/null +++ b/tests/LinqKit.Microsoft.EntityFrameworkCore9.Tests/LinqKit.Microsoft.EntityFrameworkCore9.Tests.csproj @@ -0,0 +1,36 @@ + + + + Stef Heyenrath + net9.0 + LinqKit.Microsoft.EntityFrameworkCore9.Tests + LinqKit.Microsoft.EntityFrameworkCore9.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.EntityFrameworkCore9.Tests/Properties/AssemblyInfo.cs b/tests/LinqKit.Microsoft.EntityFrameworkCore9.Tests/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..76b9898 --- /dev/null +++ b/tests/LinqKit.Microsoft.EntityFrameworkCore9.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("caf01996-2e96-4350-ac5d-79da471d1a31")]