Need help with dynamic-linq-query-builder?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

castle-it
138 Stars 81 Forks Apache License 2.0 83 Commits 19 Opened issues

Description

A truly generic and dynamic linq query builder to compliment jQuery QueryBuilder and other dynamic linq query generation needs

Services available

!
?

Need anything else?

Contributors list

Dynamic Linq Query Builder

Build status Coverage Status

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

Features (v1.1.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 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
  • Compatible with jQuery QueryBuilder (see samples for an example)

  • Targets .NET 4.5 and .NET Standard 2.0 (and by proxy, .NET Core 2.0)

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

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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.