Skip to content

LINQInnerJoin: net11.0, corrected categories, composite key, tuple Join and GroupJoin - #2416

Open
vladimir-pecanac-main wants to merge 2 commits into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/86378-csharp-inner-join-linq
Open

vladimir-pecanac-main wants to merge 2 commits into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/86378-csharp-inner-join-linq

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Moves both projects in csharp-linq/LINQInnerJoin to net11.0 and replaces FluentAssertions with plain xUnit asserts (InternalsVisibleTo lets the tests read the anonymous result types), with the test packages on xunit 2.9.3, xunit.runner.visualstudio 4.0.1, Microsoft.NET.Test.Sdk 18.12.0 and coverlet.collector 10.1.0. The four databases now belong to category 3 and the DevOps tools to category 2, so the joined output matches the category names, and the grouping helpers return IGrouping so reading the group key no longer throws on .NET 9 and later. It adds a Grade entity with composite key joins in both syntaxes, the .NET 11 Join overload that returns tuples, a GroupJoin count per course, and four new tests (nine in total).

…key, tuple Join and GroupJoin examples

Both projects target net11.0. FluentAssertions is replaced with plain xUnit
asserts (InternalsVisibleTo for the anonymous result types), and the test
packages move to xunit 2.9.3, xunit.runner.visualstudio 4.0.1,
Microsoft.NET.Test.Sdk 18.12.0 and coverlet.collector 10.1.0. The databases
now sit in category 3 and the DevOps tools in category 2, matching the
category names. The grouping helpers use IGrouping so reading the key no
longer throws on .NET 9 and later. New Grade entity and examples for a
composite key join, the .NET 11 Join overload without a result selector, and
GroupJoin, with four new tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant