Raiqub.Expressions 2.3.206

Prefix Reserved
dotnet add package Raiqub.Expressions --version 2.3.206                
NuGet\Install-Package Raiqub.Expressions -Version 2.3.206                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Raiqub.Expressions" Version="2.3.206" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Raiqub.Expressions --version 2.3.206                
#r "nuget: Raiqub.Expressions, 2.3.206"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Raiqub.Expressions as a Cake Addin
#addin nuget:?package=Raiqub.Expressions&version=2.3.206

// Install Raiqub.Expressions as a Cake Tool
#tool nuget:?package=Raiqub.Expressions&version=2.3.206                

Raiqub Expressions - Specifications

Provides base for specifications using expression trees that work with repositories

Build status NuGet Code coverage Mutation testing badge GitHub license

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .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.206 150 10/17/2024
2.3.176 256 8/31/2024
2.3.123 267 6/9/2024
2.3.117 259 6/4/2024
2.3.99 203 5/19/2024
2.3.69 277 4/24/2024
2.3.53 312 4/6/2024
2.2.39 656 1/7/2024
2.2.5 667 11/11/2023
2.1.50 631 11/2/2023
2.1.8 695 10/6/2023
2.1.7 618 10/1/2023
2.0.4 678 9/24/2023
1.1.3 678 9/24/2023
1.0.34 658 9/7/2023
1.0.19-gc5aee6dbbe 665 7/30/2023
1.0.16-gc38afc643f 658 7/29/2023
1.0.3-g5a9a3695a8 685 4/20/2023
1.0.0-pre20230410-0253 649 4/10/2023
1.0.0-pre20230410-0234 151 4/10/2023