Skip to content

Commit 27d043b

Browse files
author
JftCoCo
committed
1. Fixed issue that the LINQ query with sub-property can't be translated and will be evaluated locally.
2. Amend the issue that the method "ToDataSourceResult<T>(this IQueryable<T> queryable, DataSourceRequest request)" would ignore the aggregator parameter.
1 parent 687e536 commit 27d043b

File tree

4 files changed

+51
-3
lines changed

4 files changed

+51
-3
lines changed

CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Change Log
2+
3+
### V3.1.1 (2020/02/11)
4+
5+
- [#10](https://github.com/linmasaki/Kendo.DynamicLinqCore/issues/10) Fixed issue that the LINQ query with sub-property can't be translated and will be evaluated locally.
6+
- [#12](https://github.com/linmasaki/Kendo.DynamicLinqCore/issues/12) Amend the issue that the method `ToDataSourceResult<T>(this IQueryable<T> queryable, DataSourceRequest request)` would ignore the aggregator parameter.
7+
8+
### V2.2.2 (2019/09/17)
9+
10+
- Remove `Append` and `Prepend` method of IEnumeration extension(.NET Standard built-in).
11+
- Remove the duplicate `Aggregates` method.
12+
13+
### V2.2.0 (2019/07/05)
14+
15+
- Change the property `Group` of DataSourceResult to `Groups`.
16+
- [#5](https://github.com/linmasaki/Kendo.DynamicLinqCore/issues/5) Add new property `Aggregate` to DataSourceRequest.
17+
- [#5](https://github.com/linmasaki/Kendo.DynamicLinqCore/issues/5) Fixed getting wrong grouping data in the request using aggregates in grouping configuration.
18+
19+
### V2.1.0 (2019/05/16)
20+
21+
- [#3](https://github.com/linmasaki/Kendo.DynamicLinqCore/issues/3) Support new filtering operators of `is null`, `is not null`, `is empty`, `is not empty`, `has value`, and `has no value` in grid.
22+
- [#3](https://github.com/linmasaki/Kendo.DynamicLinqCore/issues/3) Filtering operators of `is empty`, `is not empty`, `has value`, and `has no value` doesn't support non-string types.
23+
24+
### V2.0.2 (2019/04/12)
25+
26+
- Fix the problem that when query with conditions for a large amount of data will throw exception.
27+
- Fix the query result will be unexpected when filter conditions are too much.
28+
- Fix the issue that using aggregate count will throw an exception when a framework is .NET Core 1.0.
29+
- Optimize performance and remove unnecessary properties.
30+
- When the filter condition has a DateTime type value, the time will automatically change to the server's local time.
31+
32+
### V2.0.0 (2018/09/10)
33+
34+
- [#2](https://github.com/linmasaki/Kendo.DynamicLinqCore/issues/2) Support .Net Standard 2.0.
35+
36+
### V1.0.3 (2017/02/069)
37+
38+
- [#1](https://github.com/linmasaki/Kendo.DynamicLinqCore/issues/1) Add `Errors` property in **`DataSourceResult`** class.

Icon.png

10.1 KB
Loading

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
## Description
88
Kendo.DynamicLinqCore implements server paging, filtering, sorting, grouping and aggregating to Kendo UI via Dynamic Linq for .Net Core App(1.x ~ 2.x).
99

10+
## Prerequisites
11+
### .Net Core 1 ~ 2
12+
- None
13+
### .Net Core 3
14+
- You must add custom `ObjectToInferredTypesConverter` to your `JsonSerializerOptions` since `System.Text.Json` didn't deserialize inferred type to object properties now, see the [sample code](https://github.com/linmasaki/Kendo.DynamicLinqCore/blob/master/src/Kendo.DynamicLinqCore.Tests/CustomJsonSerializerOptions.cs) and [reference](https://docs.microsoft.com/en-gb/dotnet/standard/serialization/system-text-json-converters-how-to#deserialize-inferred-types-to-object-properties).
15+
1016
## Usage
1117
1. Add the Kendo.DynamicLinqCore NuGet package to your project.
1218
2. Configure your Kendo DataSource to send its options as JSON.

src/Kendo.DynamicLinqCore/Kendo.DynamicLinqCore.csproj

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AssemblyName>Kendo.DynamicLinqCore</AssemblyName>
1010
<Title>Kendo.DynamicLinqCore</Title>
1111
<Authors>CoCo Lin</Authors>
12-
<Description>Kendo.DynamicLinqCore implements server paging, filtering, sorting, grouping and aggregating to Kendo UI via Dynamic Linq for .Net Core App(1.x ~ 2.x).
12+
<Description>Kendo.DynamicLinqCore implements server paging, filtering, sorting, grouping and aggregating to Kendo UI via Dynamic Linq for .Net Core App(1.x ~ 3.x).
1313

1414
Supported platforms:
1515

@@ -23,13 +23,16 @@ Supported platforms:
2323
</Description>
2424
<PackageReleaseNotes>
2525

26-
1. Remove "Append" and "Prepend" method of IEnumeration extension. (.NET Standard built-in).
27-
2. Remove the duplicate "Aggregates" method.
26+
1. Fixed issue that the LINQ query with sub-property can't be translated and will be evaluated locally.
27+
2. Amend the issue that the method "ToDataSourceResult%3CT%3E(this IQueryable%3CT%3E queryable, DataSourceRequest request)" would ignore the aggregator parameter.
28+
29+
Full changelog: https://github.com/linmasaki/Kendo.DynamicLinqCore/blob/master/CHANGELOG.md
2830

2931
</PackageReleaseNotes>
3032
<PackageProjectUrl>https://github.com/linmasaki/Kendo.DynamicLinqCore</PackageProjectUrl>
3133
<RepositoryUrl>https://github.com/linmasaki/Kendo.DynamicLinqCore</RepositoryUrl>
3234
<PackageIconUrl>https://raw.githubusercontent.com/linmasaki/CoCoPackageIcon/master/cocodotnet64.png</PackageIconUrl>
35+
<PackageIcon>Icon.png</PackageIcon>
3336
<PackageTags>netcore netstandard kendo kendo-ui linq dynamic</PackageTags>
3437
<PackageVersion>3.1.0</PackageVersion>
3538
<Version>3.1.0</Version>
@@ -49,6 +52,7 @@ Supported platforms:
4952

5053
<ItemGroup>
5154
<None Include="../../LICENSE" Pack="true" PackagePath="" />
55+
<None Include="../../Icon.png" Pack="true" PackagePath="" />
5256
</ItemGroup>
5357

5458
</Project>

0 commit comments

Comments
 (0)