Raiqub.Expressions
2.3.208
Prefix Reserved
dotnet add package Raiqub.Expressions --version 2.3.208
NuGet\Install-Package Raiqub.Expressions -Version 2.3.208
<PackageReference Include="Raiqub.Expressions" Version="2.3.208" />
paket add Raiqub.Expressions --version 2.3.208
#r "nuget: Raiqub.Expressions, 2.3.208"
// Install Raiqub.Expressions as a Cake Addin #addin nuget:?package=Raiqub.Expressions&version=2.3.208 // Install Raiqub.Expressions as a Cake Tool #tool nuget:?package=Raiqub.Expressions&version=2.3.208
Raiqub Expressions - Specifications
Provides base for specifications using expression trees that work with repositories
Documentation and Samples
Documentation, and samples, for using Raiqub Expressions can be found in the repository's README and documentation.
Quick Example
Simple specification:
public class CustomerIsActive : Specification<Customer>
{
public override Expression<Func<Customer, bool>> ToExpression()
{
return customer => customer.IsActive;
}
}
Specification factory:
public static class ProductSpecification
{
public static Specification<Product> IsInStock { get; } =
Specification.Create<Product>(product => product.AvailableQuantity > 0);
public static Specification<Product> IsDiscountAvailable(DateTimeOffset now) =>
Specification.Create<Product>(product => product.DiscountStartDate <= now && now <= product.DiscountEndDate);
}
Release Notes
See GitHub Releases for release notes.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. 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 is compatible. 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 | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. 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.0
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
-
net6.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Raiqub.Expressions:
Package | Downloads |
---|---|
Raiqub.Expressions.Reading
Provides abstractions for creating query strategies, query sessions and querying from database (defines IDbQuerySessionFactory and IDbQuerySession interfaces). |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.3.208 | 169 | 12/8/2024 |
2.3.206 | 162 | 10/17/2024 |
2.3.176 | 268 | 8/31/2024 |
2.3.123 | 275 | 6/9/2024 |
2.3.117 | 263 | 6/4/2024 |
2.3.99 | 210 | 5/19/2024 |
2.3.69 | 280 | 4/24/2024 |
2.3.53 | 314 | 4/6/2024 |
2.2.39 | 658 | 1/7/2024 |
2.2.5 | 669 | 11/11/2023 |
2.1.50 | 633 | 11/2/2023 |
2.1.8 | 698 | 10/6/2023 |
2.1.7 | 620 | 10/1/2023 |
2.0.4 | 682 | 9/24/2023 |
1.1.3 | 680 | 9/24/2023 |
1.0.34 | 661 | 9/7/2023 |
1.0.19-gc5aee6dbbe | 665 | 7/30/2023 |
1.0.16-gc38afc643f | 658 | 7/29/2023 |
1.0.3-g5a9a3695a8 | 686 | 4/20/2023 |
1.0.0-pre20230410-0253 | 649 | 4/10/2023 |
1.0.0-pre20230410-0234 | 151 | 4/10/2023 |
See https://github.com/skarllot/Expressions/releases for release notes.