Typesafe SQL queries #744
WimAtIHomer
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my project I use EF 9 for the default crud operations and SQL Kata for writing queries for list tables with pagination and filtering.
To make the SQL Kata queries use the entities created by EF I have created a helper class:
And now I can create queries like this:
The syntax can probably be improved, but maybe a start for an EF addon.
Beta Was this translation helpful? Give feedback.
All reactions