Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the samples/ReadmeSample project into a runnable “feature tour” that demonstrates the full README feature set using a local SQLite database and richer console output.
Changes:
- Switches the sample to SQLite + Spectre.Console and adds a comprehensive per-feature walkthrough in
Program.cs. - Expands the sample domain model (status enum, supplier navigation, DTO projection) to cover all documented features.
- Adds a detailed
samples/ReadmeSample/README.mdexplaining how to run the sample and what each feature does.
Reviewed changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| samples/ReadmeSample/ReadmeSample.csproj | Moves the sample to net10.0 and swaps package references to SQLite + Spectre.Console. |
| samples/ReadmeSample/README.md | New end-user documentation for running and understanding the sample. |
| samples/ReadmeSample/Program.cs | Rewrites the entry point into 11 feature demos with SQL + result printing. |
| samples/ReadmeSample/Extensions/UserExtensions.cs | Adds README-aligned [Projectable] extension methods, including overloads. |
| samples/ReadmeSample/Entities/User.cs | Modernizes the entity (file-scoped namespace, required props, init collection). |
| samples/ReadmeSample/Entities/Supplier.cs | Adds optional supplier entity for null-conditional demo. |
| samples/ReadmeSample/Entities/Product.cs | Adds optional supplier navigation + [Projectable] SupplierName. |
| samples/ReadmeSample/Entities/OrderStatus.cs | Adds enum + extension method for enum expansion demo. |
| samples/ReadmeSample/Entities/OrderItem.cs | Cleans up entity + nullability initialization. |
| samples/ReadmeSample/Entities/Order.cs | Adds multiple [Projectable] members covering several features. |
| samples/ReadmeSample/Dtos/OrderSummaryDto.cs | Adds DTO with [Projectable] constructor for projection demo. |
| samples/ReadmeSample/ConsoleHelper.cs | Adds Spectre.Console rendering helpers (SQL highlighting, formatting). |
| samples/ReadmeSample/ApplicationDbContext.cs | Switches to SQLite and configures UseProjectables(). |
| Directory.Packages.props | Adds central package version for Spectre.Console. |
| .gitignore | Ignores the generated ReadmeSample.db file. |
added 3 commits
April 12, 2026 12:00
…out query execution, only SQL display
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.
No description provided.