You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Is there way to translate EF Core query to WITH Queries (Common Table Expressions) ? #3228
Is there a way extend EF Core or EF Core PgSQL provider?
When i looked into classes:
NpgsqlQuerySqlGeneratorFactory,
NpgsqlQuerySqlGenerator
as a variant is to override method VisitExtension, but there is a comment:
This is an internal API that supports the Entity Framework Core infrastructure ...
Maybe you have extension то extend this functions?
Building support for CTEs needs to happen in EF itself, and isn't a small task - this is something I hope we'll tackle for EF 10. In the meantime, I suggest simply using SQL queries instead of LINQ.
Activity
roji commentedon Jul 19, 2024
Duplicate of dotnet/efcore#26486
roji commentedon Jul 19, 2024
Building support for CTEs needs to happen in EF itself, and isn't a small task - this is something I hope we'll tackle for EF 10. In the meantime, I suggest simply using SQL queries instead of LINQ.
torgashov commentedon Aug 5, 2024
Thank you for your answers!