Skip to content

Add support for named query filters in TinyHelpers.EntityFrameworkCore (available only in .NET 10 and greater) #288

@marcominerva

Description

@marcominerva

Goal

Enhance TinyHelpers.EntityFrameworkCore to support named query filters, leveraging features available starting from .NET 10. This will allow developers to define and apply reusable query filters by name, simplifying scenarios where dynamic or conditional filtering is required.

Requirements

  • Implement named query filter support in TinyHelpers.EntityFrameworkCore.
  • Ensure compatibility checks so this feature is available only when targeting .NET 10 or greater.
  • Provide example usage in the documentation.
  • Add relevant unit tests for this new functionality.

Additional Context

Named query filters will help in scenarios where commonly used filters can be declared once and then enabled or disabled by name at runtime or during query construction.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions