Repository navigation
Document UseSqlOutputClause/UseSqlReturningClause - #5184
Conversation
There was a problem hiding this comment.
Pull request overview
This PR documents the UseSqlOutputClause and UseSqlReturningClause APIs by creating new dedicated documentation pages for SQL Server and SQLite providers. It removes old sample code files that were previously referenced for trigger configuration examples, replacing code snippets that were sourced from external files with inline examples. The documentation now provides comprehensive guidance on disabling OUTPUT/RETURNING clauses when they conflict with database triggers or other limitations.
Key changes:
- Creates new miscellaneous documentation pages for SQL Server and SQLite providers with detailed guidance on OUTPUT/RETURNING clause limitations
- Adds cross-references from the EF Core 8.0 what's new page to the new provider-specific documentation
- Removes obsolete sample files and adds .DS_Store to .gitignore
Reviewed changes
Copilot reviewed 6 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| entity-framework/core/providers/sql-server/misc.md | Rewrites the trigger/OUTPUT clause section with inline code examples instead of external file references |
| entity-framework/core/providers/sqlite/misc.md | Creates new documentation page explaining RETURNING clause limitations and workarounds |
| entity-framework/toc.yml | Adds the new SQLite miscellaneous page to the table of contents |
| entity-framework/core/what-is-new/ef-core-8.0/whatsnew.md | Adds cross-references to the new provider-specific documentation pages |
| samples/core/SqlServer/Misc/TriggersContext.cs | Removes obsolete sample file that was replaced with inline documentation examples |
| samples/core/SqlServer/Misc/Blog.cs | Removes obsolete sample file |
| .gitignore | Adds .DS_Store to ignore macOS system files |
| samples/core/.DS_Store | Binary file that should have been ignored |
| samples/core/Miscellaneous/.DS_Store | Binary file that should have been ignored |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
Closes #4538