Linq.Extension
2.0.1
See the version list below for details.
dotnet add package Linq.Extension --version 2.0.1
NuGet\Install-Package Linq.Extension -Version 2.0.1
<PackageReference Include="Linq.Extension" Version="2.0.1" />
paket add Linq.Extension --version 2.0.1
#r "nuget: Linq.Extension, 2.0.1"
// Install Linq.Extension as a Cake Addin #addin nuget:?package=Linq.Extension&version=2.0.1 // Install Linq.Extension as a Cake Tool #tool nuget:?package=Linq.Extension&version=2.0.1
Linq Extension to provide Dynamic Where Condition and Dynamic Select, Dynamic Take If Positive Number, Pagination and Nesting Predicates with parenthesis. Use SearchInput class for Dynamic Where and PaginationInput for pagination (take, skip and sort).
Fixed Contains and Not Contains error. If string type operations like contains, notcontains, startswith, notstartswith, endswith, notendswith, cotainsinlist, notcontainsinlist, startswithinlist, notstartswithinlist, endswithinlist, and notendswithinlist will be used with fields of non-string type then throw meaningful error that these operations not allowed. Also, if parameter names doesn't match exactly to search and pagination, it will work as long as their type matches.
Added notstartswith, notendswith, containsinlist, notcontainsinlist, startswithinlist, endswithinlist, notstartswithinlist, notendswithinlist in FilterOperationEnum. These will only be applicable to Strings fields This will allow to use contains, startsWith, and endsWith in list and will translate into as many contains, startswith and/or endswith expressions as many values in the list. E.g. if Not Contains In List is used then the values will be AND together, for exmaple (NOT (fieldName LIKE %value1%) AND (NOT (fieldName LIKE %value2%))). It will be similiar for startwith and endswith E.g. if Contains In List is used then the values will be OR together, for example (fieldName LIKE %value1%) OR (fieldName LIKE %value2%). It will be similiar for startswith and endswith
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Newtonsoft.Json (>= 13.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.8.1 | 140 | 6/27/2024 |
3.8.0 | 92 | 6/26/2024 |
3.7.0.1 | 96 | 6/25/2024 |
3.7.0 | 93 | 6/25/2024 |
3.6.5 | 97 | 6/20/2024 |
3.6.4 | 111 | 6/16/2024 |
3.6.3 | 100 | 6/16/2024 |
3.6.2 | 110 | 6/16/2024 |
3.6.1 | 112 | 6/16/2024 |
3.6.0 | 112 | 6/16/2024 |
3.5.1 | 120 | 6/16/2024 |
3.5.0 | 102 | 6/15/2024 |
3.4.0 | 106 | 6/12/2024 |
3.3.1 | 99 | 6/12/2024 |
3.3.0 | 126 | 6/12/2024 |
3.2.0 | 276 | 7/12/2023 |
3.1.0 | 149 | 6/27/2023 |
3.0.2 | 152 | 6/24/2023 |
3.0.1 | 154 | 6/10/2023 |
3.0.0 | 244 | 3/5/2023 |
2.0.1.2 | 321 | 2/26/2023 |
2.0.1.1 | 330 | 2/23/2023 |
2.0.1 | 276 | 2/23/2023 |
2.0.0.1 | 300 | 1/19/2023 |
2.0.0 | 289 | 1/19/2023 |
1.0.0.9 | 333 | 11/27/2022 |
1.0.0.8 | 334 | 11/27/2022 |
1.0.0.7 | 505 | 10/4/2020 |
1.0.0.5 | 764 | 7/30/2020 |
1.0.0.4 | 455 | 7/29/2020 |
1.0.0.3 | 495 | 7/29/2020 |
1.0.0.2 | 458 | 7/28/2020 |
1.0.0.1 | 461 | 7/28/2020 |
1.0.0 | 480 | 7/27/2020 |
Fixed Contains and Not Contains error. If string type operations like contains, notcontains, startswith, notstartswith, endswith, notendswith, cotainsinlist, notcontainsinlist, startswithinlist, notstartswithinlist,
endswithinlist, and notendswithinlist will be used with fields of non-string type then throw meaningful error that these operations not allowed.
Also, if parameter names doesn't match exactly to search and pagination, it will work as long as their type matches.
Added notstartswith, notendswith, containsinlist, notcontainsinlist,
startswithinlist,
endswithinlist, notstartswithinlist, notendswithinlist in FilterOperationEnum. These will only be applicable to Strings fields
This will allow to use contains, startsWith, and endsWith in list and will translate into as many contains, startswith and/or endswith expressions as many values in the list.
E.g. if Not Contains In List is used then the values will be AND together, for exmaple (NOT (fieldName LIKE %value1%) AND (NOT (fieldName LIKE %value2%))). It will be similiar for startwith and endswith
E.g. if Contains In List is used then the values will be OR together, for example (fieldName LIKE %value1%) OR (fieldName LIKE %value2%). It will be similiar for startswith and endswith