Skip to content

Use interceptors to redirect the query to precompiled code #31331

@AndriySvyryd

Description

@AndriySvyryd

See https://github.com/dotnet/roslyn/blob/main/docs/features/interceptors.md

  • Identify and properly intercept all terminating operators
    • ExecuteUpdate/Delete
  • Use ISyntaxGenerator in LinqToCSharpSyntaxGenerator, to avoid e.g. parentheses/operator precedence issues.

Specific query types to keep in mind and test:

  • SQL queries
  • Split query
  • GroupBy final operator (materializer work)
  • Shared-type entity types (in various places where we do entity lookups)
  • Improve tests to assert on results, possibly on SQL.

Metadata

Metadata

Assignees

Labels

No fields configured for Feature.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions