Skip to content

How to use Common Table Expressions ? #201

@torgashov

Description

@torgashov

Hello!
We use LINQKit with EF Core for PgSQL, which allows the With...AS code construct to reuse subqueries.
We have a table with a self-join and need to read data recursively.
How to use Common Table Expressions with LINQKit as the equivalent AsCte() method in LINQtoDB?
Or maybe LINQKit has the ability to create recursive database queries without loading the data to the client (when using IEnumerable)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions