ABluePredicateBuilder 1.0.1
dotnet add package ABluePredicateBuilder --version 1.0.1
NuGet\Install-Package ABluePredicateBuilder -Version 1.0.1
<PackageReference Include="ABluePredicateBuilder" Version="1.0.1" />
paket add ABluePredicateBuilder --version 1.0.1
#r "nuget: ABluePredicateBuilder, 1.0.1"
// Install ABluePredicateBuilder as a Cake Addin #addin nuget:?package=ABluePredicateBuilder&version=1.0.1 // Install ABluePredicateBuilder as a Cake Tool #tool nuget:?package=ABluePredicateBuilder&version=1.0.1
What is ABluePredicateBuilder it is library that like ODATA and you can filter or sort on any entity with paging .
With this library, you can write httpGet api to put any filter you want on it and output it in the collection of pagination.
The filters and the face of each are in the form of strings . for example filterString : "CourseId=d1773f09-f17c-4ed0-4e56-08d94509941d¤1µFirstName=Arman¤5µ"
1-The first thing must be the name of the entity property(case sensitive) and next " = " .
2-" ¤ " for seprate VALUE From OprationEnum (after ¤ oprationEnum is placed)
3-" µ " for seprate each filter section .
////////////////////////////////////////////
ABluePredicateBuilder چیست این کتابخانه است که مانند ODATA است و شما می توانید با صفحه بندی هر موجودی را فیلتر یا مرتب کنید.
با استفاده از این کتابخانه می توانید httpGet api را بنویسید تا هر فیلتری را که می خواهید روی آن قرار دهید و آن را در مجموعه صفحه بندی خارج کنید.
فیلترها و صورت هر یک به صورت رشته ای است. به عنوان مثال filterString: ** "CourseId = d1773f09-f17c-4ed0-4e56-08d94509941d¤1µFirstName = Arman¤5µ" ** این رشته یعنی لیستی بده که CourseId برابر (equal) با d1773f09-f17c-4ed0-4e56-08d94509941d و firstName شامل (like) با Arman .
OperationEnum که تو کتابخانه وجود دارد مقادیر زیر را دارد :
Equal = 1, NotEqual = 2, Contain = 3,NotContain = 4,Like = 5,NotLike = 6,StartsWith = 7,NotStartsWith = 8,EndsWith = 9,NotEndsWith = 10,
GreaterThan = 11,GreaterThanOrEqual = 12,LessThan = 13,LessThanOrEqual = 14,IsNull = 15,IsNotNull = 16,None = 17,HasFlag = 18,HasnotFlag = 19,
1-اولین چیز باید نام خاصیت موجودیت باشد (حساس به حروف بزرگ) و بعدی "=".
2- "¤" برای Separate VALUE از OprationEnum (بعد از قرار دادن ¤ oprationEnum)
3- "μ" برای جدا کردن هر بخش فیلتر.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- ABluePersianDateTime (>= 2.0.2)
- Microsoft.EntityFrameworkCore (>= 5.0.7)
- Newtonsoft.Json (>= 13.0.1)
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 |
---|---|---|
1.0.1 | 1,986 | 7/12/2021 |