Document aggregate queries and built-in function mapping - #5460
Open
AndriySvyryd with Copilot wants to merge 3 commits into
Open
Document aggregate queries and built-in function mapping#5460AndriySvyryd with Copilot wants to merge 3 commits into
AndriySvyryd with Copilot wants to merge 3 commits into
Conversation
Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Document aggregate functions in EF Core
Document aggregate queries and built-in function mapping
Aug 19, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Documents aggregate query composition, top-level aggregate workarounds, and built-in database function mapping.
Changes:
- Adds aggregate query guidance and examples.
- Documents
IsBuiltInconfiguration with a sample. - Cross-links SQL Server and SQLite provider references.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
samples/core/Querying/UserDefinedFunctionMapping/Model.cs |
Adds built-in function mapping sample. |
entity-framework/core/querying/user-defined-function-mapping.md |
Documents fluent and attribute configuration. |
entity-framework/core/querying/complex-query-operators.md |
Adds aggregate query guidance. |
entity-framework/core/providers/sqlite/functions.md |
Links conceptual aggregate guidance. |
entity-framework/core/providers/sql-server/functions.md |
Links conceptual aggregate guidance. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
EF Core lacked consolidated guidance for aggregate projections, composed aggregate inputs, and provider-specific top-level aggregates. Built-in database function mapping via
IsBuiltInwas also undocumented.GroupByprojections with filtering, ordering, and distinct inputs.Function mapping
.IsBuiltIn()and[DbFunction(IsBuiltIn = true)]configuration.Provider references