Infragistics.QueryBuilder.Executor 0.1.0-prerelease0001

Prefix Reserved
This is a prerelease version of Infragistics.QueryBuilder.Executor.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Infragistics.QueryBuilder.Executor --version 0.1.0-prerelease0001
                    
NuGet\Install-Package Infragistics.QueryBuilder.Executor -Version 0.1.0-prerelease0001
                    
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="Infragistics.QueryBuilder.Executor" Version="0.1.0-prerelease0001" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Infragistics.QueryBuilder.Executor" Version="0.1.0-prerelease0001" />
                    
Directory.Packages.props
<PackageReference Include="Infragistics.QueryBuilder.Executor" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Infragistics.QueryBuilder.Executor --version 0.1.0-prerelease0001
                    
#r "nuget: Infragistics.QueryBuilder.Executor, 0.1.0-prerelease0001"
                    
#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.
#:package Infragistics.QueryBuilder.Executor@0.1.0-prerelease0001
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Infragistics.QueryBuilder.Executor&version=0.1.0-prerelease0001&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Infragistics.QueryBuilder.Executor&version=0.1.0-prerelease0001&prerelease
                    
Install as a Cake Tool

Infragistics.QueryBuilder.Executor

A .NET 9 library for dynamic, strongly-typed query building and execution over Entity Framework Core data sources. Supports advanced filtering, projection, and SQL generation.

NuGet


Installation

Install via NuGet Package Manager:

dotnet add package Infragistics.QueryBuilder.Executor


Features

  • Dynamic Query Execution: Compose and execute queries at runtime using a flexible object model.
  • Advanced Filtering: Nested filters, logical operators (AND/OR), and rich condition support.
  • Projection: Select specific fields or project to DTOs.
  • SQL Generation: Generate SQL from the query model for diagnostics or analysis.
  • ASP.NET Core Integration: Easily expose query endpoints.

Getting Started

1. Register the QueryBuilder Service

In your Startup.cs or Program configuration:

services.AddQueryBuilder<MyDbContext, MyResultDto>();

2. Expose a Query Endpoint

app.UseEndpoints(endpoints => { endpoints.UseQueryBuilder<MyDbContext, MyResultDto>("/api/query"); });

3. Example Query Payload

{ "Entity": "Users", "ReturnFields": ["Id", "Name"], "Operator": "And", "FilteringOperands": [ { "FieldName": "IsActive", "Condition": { "Name": "equals" }, "SearchVal": true } ] }

4. Generate SQL (Optional)

var sql = SqlGenerator.GenerateSql(query);


Query Model

  • Query: Describes the entity, fields, logical operator, and filters.
  • QueryFilter: Represents a filter or group of filters.
  • QueryFilterCondition: Specifies the comparison type (e.g., equals, contains).

Dependencies

  • .NET 9
  • Microsoft.EntityFrameworkCore
  • AutoMapper

License

This package is provided as-is for public and demonstration use.


For more details, see the source code or contact the maintainers.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.1.0-prerelease0002 122 7/3/2025
0.1.0-prerelease0001 116 7/2/2025
0.1.0-prerelease.5 110 7/3/2025
0.1.0-prerelease.4 113 7/3/2025