Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IQueryable Select #61

Open
6 tasks
Odonno opened this issue Dec 6, 2023 · 3 comments
Open
6 tasks

IQueryable Select #61

Odonno opened this issue Dec 6, 2023 · 3 comments

Comments

@Odonno
Copy link
Contributor

Odonno commented Dec 6, 2023

Offer a way to query table records with better performance using the IQueryable<T> interface, somewhat paving the way for an EF Core implementation.

  • Return IQueryable<T> instead of IEnumerable<T> for Select method, or IOrderedQueryable<T> that offers sorting features, if possible
  • Create a custom query builder and use it build to a string query
  • Avoid usage of query builder if not needed (on full table projection)
  • Add tests
  • Create an example project to showcase some basic features (filtering, grouping, counting, ordering, projecting, etc...)
  • Update documentation with some examples/use cases

Some guides on how to implement IQueryable<T>/IOrderedQueryable<T>:

https://putridparrot.com/blog/creating-a-custom-linq-provider/

@jhancock-taxa
Copy link

Even without EF Core, IQueryable with .Where and .OrderBy would be invaluable and expected in the .net world.

@Odonno
Copy link
Contributor Author

Odonno commented May 29, 2024

This is the plan @JHTaxa

@jamesburtonfnz
Copy link

Any idea when?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants