File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed
src/Plugins/Plugins.StructuredData.EntityFramework Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 69
69
<PackageVersion Include =" MSTest.TestFramework" Version =" 3.8.0" />
70
70
<PackageVersion Include =" Newtonsoft.Json" Version =" 13.0.3" />
71
71
<PackageVersion Include =" Npgsql" Version =" 8.0.7" />
72
+ <PackageVersion Include =" OData2Linq" Version =" 2.2.0" />
72
73
<PackageVersion Include =" OllamaSharp" Version =" 5.2.3" />
73
74
<PackageVersion Include =" OpenAI" Version =" [2.2.0]" />
74
75
<PackageVersion Include =" OpenTelemetry.Exporter.Console" Version =" 1.12.0" />
Original file line number Diff line number Diff line change 27
27
</ItemGroup >
28
28
29
29
<ItemGroup >
30
- <Compile Remove =" $(RepoRoot)/dotnet/src/InternalUtilities/src/Diagnostics/ModelDiagnostics.cs" Link =" %(RecursiveDir)/InternalUtilities/Diagnostics/%(Filename)%(Extension)" />
30
+ <Compile Remove =" $(RepoRoot)/dotnet/src/InternalUtilities/src/Diagnostics/ModelDiagnostics.cs" Link =" %(RecursiveDir)/InternalUtilities/Diagnostics/%(Filename)%(Extension)" />
31
31
</ItemGroup >
32
32
33
33
<ItemGroup >
36
36
</ItemGroup >
37
37
38
38
<ItemGroup >
39
- <PackageReference Include =" Community.OData.Linq" />
40
39
<PackageReference Include =" EntityFramework" />
41
40
</ItemGroup >
42
41
42
+ <ItemGroup Condition =" '$(TargetFramework)' != 'net8.0' AND '$(TargetFramework)' != 'net9.0'" >
43
+ <PackageReference Include =" Community.OData.Linq" />
44
+ </ItemGroup >
45
+ <ItemGroup Condition =" '$(TargetFramework)' == 'net8.0' OR '$(TargetFramework)' == 'net9.0'" >
46
+ <PackageReference Include =" OData2Linq" />
47
+ </ItemGroup >
48
+
43
49
</Project >
Original file line number Diff line number Diff line change 6
6
using System . Linq ;
7
7
using System . Threading ;
8
8
using System . Threading . Tasks ;
9
+ #if NET8_0_OR_GREATER
10
+ using OData2Linq ;
11
+ #else
9
12
using Community . OData . Linq ;
13
+ #endif
10
14
11
15
#pragma warning disable CA1308 // Normalize strings to uppercase
12
16
You can’t perform that action at this time.
0 commit comments