Skip to content

Commit d4de1f8

Browse files
committed
Added support for EF Core 10
1 parent 6dc8eea commit d4de1f8

6 files changed

Lines changed: 46 additions & 3 deletions

File tree

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
1515
<RootNamespace>Thinktecture</RootNamespace>
1616
<TargetFramework>net7.0</TargetFramework>
17-
<LangVersion>13.0</LangVersion>
17+
<LangVersion>14.0</LangVersion>
1818
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
1919
<Nullable>enable</Nullable>
2020
<ImplicitUsings>enable</ImplicitUsings>

Thinktecture.Runtime.Extensions.slnx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
<Project Path="src/Thinktecture.Runtime.Extensions.EntityFrameworkCore7/Thinktecture.Runtime.Extensions.EntityFrameworkCore7.csproj" />
4141
<Project Path="src/Thinktecture.Runtime.Extensions.EntityFrameworkCore8/Thinktecture.Runtime.Extensions.EntityFrameworkCore8.csproj" />
4242
<Project Path="src/Thinktecture.Runtime.Extensions.EntityFrameworkCore9/Thinktecture.Runtime.Extensions.EntityFrameworkCore9.csproj" />
43+
<Project Path="src\Thinktecture.Runtime.Extensions.EntityFrameworkCore10\Thinktecture.Runtime.Extensions.EntityFrameworkCore10.csproj" Type="Classic C#" />
4344
<Project Path="src/Thinktecture.Runtime.Extensions.Json/Thinktecture.Runtime.Extensions.Json.csproj" />
4445
<Project Path="src/Thinktecture.Runtime.Extensions.MessagePack/Thinktecture.Runtime.Extensions.MessagePack.csproj" />
4546
<Project Path="src/Thinktecture.Runtime.Extensions.Newtonsoft.Json/Thinktecture.Runtime.Extensions.Newtonsoft.Json.csproj" />
@@ -54,6 +55,7 @@
5455
<Project Path="test/Thinktecture.Runtime.Extensions.EntityFrameworkCore7.Tests/Thinktecture.Runtime.Extensions.EntityFrameworkCore7.Tests.csproj" />
5556
<Project Path="test/Thinktecture.Runtime.Extensions.EntityFrameworkCore8.Tests/Thinktecture.Runtime.Extensions.EntityFrameworkCore8.Tests.csproj" />
5657
<Project Path="test/Thinktecture.Runtime.Extensions.EntityFrameworkCore9.Tests/Thinktecture.Runtime.Extensions.EntityFrameworkCore9.Tests.csproj" />
58+
<Project Path="test\Thinktecture.Runtime.Extensions.EntityFrameworkCore10.Tests\Thinktecture.Runtime.Extensions.EntityFrameworkCore10.Tests.csproj" Type="Classic C#" />
5759
<Project Path="test/Thinktecture.Runtime.Extensions.Json.Tests/Thinktecture.Runtime.Extensions.Json.Tests.csproj" />
5860
<Project Path="test/Thinktecture.Runtime.Extensions.MessagePack.Tests/Thinktecture.Runtime.Extensions.MessagePack.Tests.csproj" />
5961
<Project Path="test/Thinktecture.Runtime.Extensions.Newtonsoft.Json.Tests/Thinktecture.Runtime.Extensions.Newtonsoft.Json.Tests.csproj" />

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "9.0.0",
3+
"version": "10.0.0",
44
"rollForward": "latestMajor",
55
"allowPrerelease": false
66
}

samples/Basic.Samples/Basic.Samples.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<LangVersion>preview</LangVersion>
54
<ThinktectureRuntimeExtensions_SourceGenerator_Counter>enabled</ThinktectureRuntimeExtensions_SourceGenerator_Counter>
65
<ThinktectureRuntimeExtensions_SourceGenerator_LogLevel>information</ThinktectureRuntimeExtensions_SourceGenerator_LogLevel>
76
<ThinktectureRuntimeExtensions_SourceGenerator_LogMessageInitialBufferSize>1000</ThinktectureRuntimeExtensions_SourceGenerator_LogMessageInitialBufferSize>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<Description>Extends Entity Framework Core to support some components from Thinktecture.Runtime.Extensions.</Description>
5+
<PackageTags>smart-enum;value-object;discriminated-union;EntityFrameworkCore</PackageTags>
6+
<DefineConstants>$(DefineConstants);COMPLEX_TYPES;PRIMITIVE_COLLECTIONS;USE_FIND_COMPLEX_PROPERTY_FIX;</DefineConstants>
7+
<TargetFramework>net10.0</TargetFramework>
8+
</PropertyGroup>
9+
10+
<ItemGroup>
11+
<ProjectReference Include="..\Thinktecture.Runtime.Extensions\Thinktecture.Runtime.Extensions.csproj" />
12+
13+
<Compile Include="..\Thinktecture.Runtime.Extensions.EntityFrameworkCore.Sources\**\*.cs" />
14+
</ItemGroup>
15+
16+
<ItemGroup>
17+
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" VersionOverride="10.0.0-rc.2.25502.107" />
18+
</ItemGroup>
19+
20+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<DefineConstants>$(DefineConstants);COMPLEX_TYPES;PRIMITIVE_COLLECTIONS;</DefineConstants>
5+
<TargetFrameworks>net10.0</TargetFrameworks>
6+
</PropertyGroup>
7+
8+
<ItemGroup>
9+
<ProjectReference Include="..\..\src\Thinktecture.Runtime.Extensions.EntityFrameworkCore10\Thinktecture.Runtime.Extensions.EntityFrameworkCore10.csproj" />
10+
<ProjectReference Include="..\..\src\Thinktecture.Runtime.Extensions.SourceGenerator\Thinktecture.Runtime.Extensions.SourceGenerator.csproj" SetTargetFramework="TargetFramework=netstandard2.0" ReferenceOutputAssembly="false" OutputItemType="Analyzer" />
11+
<ProjectReference Include="..\Thinktecture.Runtime.Extensions.Tests.Shared\Thinktecture.Runtime.Extensions.Tests.Shared.csproj" />
12+
</ItemGroup>
13+
14+
<ItemGroup>
15+
<Compile Include="..\Thinktecture.Runtime.Extensions.EntityFrameworkCore.Tests.Sources\**\*.cs" />
16+
</ItemGroup>
17+
18+
<ItemGroup>
19+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" VersionOverride="10.0.0-rc.2.25502.107" />
20+
</ItemGroup>
21+
22+
</Project>

0 commit comments

Comments
 (0)