Castle.DynamicLinqQueryBuilder 1.3.4

dotnet add package Castle.DynamicLinqQueryBuilder --version 1.3.4                
NuGet\Install-Package Castle.DynamicLinqQueryBuilder -Version 1.3.4                
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="Castle.DynamicLinqQueryBuilder" Version="1.3.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Castle.DynamicLinqQueryBuilder --version 1.3.4                
#r "nuget: Castle.DynamicLinqQueryBuilder, 1.3.4"                
#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 Castle.DynamicLinqQueryBuilder as a Cake Addin
#addin nuget:?package=Castle.DynamicLinqQueryBuilder&version=1.3.4

// Install Castle.DynamicLinqQueryBuilder as a Cake Tool
#tool nuget:?package=Castle.DynamicLinqQueryBuilder&version=1.3.4                

Dynamic Linq Query Builder

.NET Coverage Status Nuget

dynamic-linq-query-builder is a small library that allows any .Net framework class collection to be filtered dynamically at runtime.

Features (v1.3.4)

  • Generates an IQueryable from any collection and filter combination

  • Capable of complex, grouped queries against as many fields as you want

  • Supports nested objects and collections via dot notation

  • Supports ORMs like EF6, EFCore, and MongoDB Client >=2.19

  • Supports a number of operators for each type

    • in
    • not in
    • equal
    • not equal
    • between
    • not between
    • less
    • less or equal
    • greater
    • greater or equal
    • begins with
    • not begins with
    • contains
    • not contains
    • ends with
    • not ends with
    • is empty
    • is not empty
    • is null
    • is not null
    • custom operators via interface and options
  • Compatible with jQuery QueryBuilder (see samples for an example)

  • Targets .NET 4.5, .NET Standard 2.0, .NET 6, and .NET 8

Installation

dynamic-linq-query-builder can be installed via the nuget UI (as Castle.DynamicLinqQueryBuilder), or via the nuget package manager console:

PM> Install-Package Castle.DynamicLinqQueryBuilder

To Install the System.Text.Json extension:

dynamic-linq-query-builder-system-text-json can be installed via the nuget UI (as Castle.DynamicLinqQueryBuilder.SystemTextJson), or via the nuget package manager console:

PM> Install-Package Castle.DynamicLinqQueryBuilder.SystemTextJson

Getting Started

The easiest way to get started is to install the NuGet package and take a look at the MVC sample application included in the source code. It contains a working example of both dynamic-linq-query-builder and jQuery-QueryBuilder.

Additionally, see the Wiki

Contributions

Contributions and pull requests are welcome with associated unit tests.

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 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  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.
  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Castle.DynamicLinqQueryBuilder:

Package Downloads
MSFactory.ToolKits

Package Description

Castle.DynamicLinqQueryBuilder.SystemTextJson

A companion package for those using System.Text.Json

Iu5dmf.Sphere.Gui.Core

GUI Core library for Sphere

CPIT.DynamicForm

Package Description

DataModeler

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.4 14,645 8/31/2024
1.3.3 78,450 8/30/2023
1.3.2 24,242 5/2/2023
1.3.1 603 4/29/2023
1.3.0 3,347 4/20/2023
1.2.9 47,615 10/8/2022
1.2.8 928 10/6/2022
1.2.7 3,725 9/13/2022
1.2.6 15,633 8/7/2022
1.2.5 350,256 5/3/2022
1.2.4 27,702 3/7/2022
1.2.3 131,298 12/2/2021
1.2.2 4,683 11/20/2021
1.2.1 691 11/18/2021
1.2.0 66,148 12/3/2020
1.1.4 147,466 6/15/2019
1.1.3 7,505 3/27/2019
1.1.2 2,565 2/17/2019
1.1.1 2,666 1/12/2019
1.1.0 1,350 12/25/2018
1.0.5 63,403 7/2/2016
1.0.5-prerelease 2,017 3/9/2016
1.0.4 1,638 3/4/2016
1.0.3 1,454 3/1/2016
1.0.2 1,589 2/23/2016
1.0.1 1,582 1/27/2016

Minor Enhancements