Skip to content

Commit 3e2e205

Browse files
authored
Merge pull request #42 from yv989c/feature/optimize
Feature/optimize
2 parents fbf58b0 + 262cc6e commit 3e2e205

35 files changed

+806
-235
lines changed

README.md

Lines changed: 93 additions & 105 deletions
Large diffs are not rendered by default.

Version.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project>
22
<PropertyGroup>
3-
<VersionEFCore3>3.9.1</VersionEFCore3>
4-
<VersionEFCore5>5.9.1</VersionEFCore5>
5-
<VersionEFCore6>6.9.1</VersionEFCore6>
6-
<VersionEFCore7>7.4.1</VersionEFCore7>
7-
<VersionEFCore8>8.0.0</VersionEFCore8>
3+
<VersionEFCore3>3.9.2</VersionEFCore3>
4+
<VersionEFCore5>5.9.2</VersionEFCore5>
5+
<VersionEFCore6>6.9.2</VersionEFCore6>
6+
<VersionEFCore7>7.4.2</VersionEFCore7>
7+
<VersionEFCore8>8.1.0</VersionEFCore8>
88
</PropertyGroup>
99
</Project>

benchmarks/QueryableValues.SqlServer.Benchmarks/ContainsBenchmarks.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
namespace QueryableValues.SqlServer.Benchmarks;
1010

11+
//[SimpleJob(RunStrategy.Monitoring, warmupCount: 1, iterationCount: 1, invocationCount: 6)]
1112
[SimpleJob(RunStrategy.Monitoring, warmupCount: 1, iterationCount: 25, invocationCount: 200)]
1213
[GroupBenchmarksBy(BenchmarkLogicalGroupRule.ByCategory)]
1314
[GcServer(true), MemoryDiagnoser]

benchmarks/QueryableValues.SqlServer.Benchmarks/QueryableValues.SqlServer.Benchmarks.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="BenchmarkDotNet" Version="0.13.5" />
12-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.4" />
11+
<PackageReference Include="BenchmarkDotNet" Version="0.13.10" />
12+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0" />
1313
</ItemGroup>
1414

1515
<ItemGroup>
16-
<ProjectReference Include="..\..\src\QueryableValues.SqlServer.EFCore7\QueryableValues.SqlServer.EFCore7.csproj" />
16+
<ProjectReference Include="..\..\src\QueryableValues.SqlServer.EFCore8\QueryableValues.SqlServer.EFCore8.csproj" />
1717
</ItemGroup>
1818

1919
</Project>

docs/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ For a detailed explanation of the problem solved by QueryableValues, please cont
1818

1919
> 💡 Still on Entity Framework 6 (non-core)? Then [QueryableValues `EF6 Edition`](https://github.com/yv989c/BlazarTech.QueryableValues.EF6) is what you need.
2020
21-
## When Should You Use It?
22-
The `AsQueryableValues` extension method is intended for queries that are dependent upon a *non-constant* sequence of external values. It provides a solution to the following [EF Core issue](https://github.com/dotnet/efcore/issues/13617) and enables other currently unsupported scenarios; like the ability to efficiently create joins with in-memory data.
23-
2421
## Your Support is Appreciated!
2522
If you feel that this solution has provided you some value, please consider [buying me a ☕][BuyMeACoffee].
2623

@@ -88,7 +85,7 @@ Below are a few examples composing a query using the values provided by an [IEnu
8885

8986
### Simple Type Examples
9087

91-
> 💡 Supports [Byte], [Int16], [Int32], [Int64], [Decimal], [Single], [Double], [DateTime], [DateTimeOffset], [Guid], [Char], [String], and [Enum].
88+
> 💡 Supports [Byte], [Int16], [Int32], [Int64], [Decimal], [Single], [Double], [DateTime], [DateTimeOffset], [DateOnly], [TimeOnly], [Guid], [Char], [String], and [Enum].
9289
9390
Using the [Contains][ContainsQueryable] LINQ method:
9491

@@ -215,6 +212,8 @@ Please take a look at the [repository][Repository].
215212
[Double]: https://docs.microsoft.com/en-us/dotnet/api/system.double
216213
[DateTime]: https://docs.microsoft.com/en-us/dotnet/api/system.datetime
217214
[DateTimeOffset]: https://docs.microsoft.com/en-us/dotnet/api/system.datetimeoffset
215+
[DateOnly]: https://docs.microsoft.com/en-us/dotnet/api/system.dateonly
216+
[TimeOnly]: https://docs.microsoft.com/en-us/dotnet/api/system.timeonly
218217
[Guid]: https://docs.microsoft.com/en-us/dotnet/api/system.guid
219218
[Char]: https://docs.microsoft.com/en-us/dotnet/api/system.char
220219
[String]: https://docs.microsoft.com/en-us/dotnet/api/system.string

docs/benchmarks/images/v8.1.0.png

210 KB
Loading

docs/benchmarks/v7.2.0.md

Lines changed: 120 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)