Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Infragistics.QueryBuilder.Executor.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageId>Infragistics.QueryBuilder.Executor</PackageId>
Expand Down
5 changes: 3 additions & 2 deletions ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 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.
A .NET 8, .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](https://img.shields.io/nuget/v/Infragistics.QueryBuilder.Executor.svg)](https://www.nuget.org/packages/Infragistics.QueryBuilder.Executor/)

Expand Down Expand Up @@ -61,9 +61,10 @@ In your `Startup.cs` or Program configuration:

## Dependencies

- .NET 9
- .NET 8 or .NET 9
- Microsoft.EntityFrameworkCore
- AutoMapper
- builder.Services.AddControllers().AddNewtonsoftJson(o => o.SerializerSettings.ReferenceLoopHandling = ReferenceLoopHandling.Ignore) for working SwaggerUI

---

Expand Down
2 changes: 1 addition & 1 deletion Services/QueryBuilderService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public Dictionary<string, object[]> RunQuery(Query query)
?? throw new InvalidOperationException($"DbSet '{propInfo.Name}' does not support AsQueryable().");

var propRes = QueryExecutor.InvokeRunMethod([dbGenericType, dtoGenericType], [queryable, query, mapper]);
return new Dictionary<string, object[]> { { propInfo.Name.ToLowerInvariant(), propRes } };
return new Dictionary<string, object[]> { { query.Entity, propRes } };
}
}
}
Loading