From 550f771061d89e891916e1a47d6724eb4178780d Mon Sep 17 00:00:00 2001 From: David Pine Date: Wed, 22 Apr 2020 13:19:23 -0500 Subject: [PATCH 1/2] Added suggested warning about lack of database support --- docs/csharp/linq/perform-grouped-joins.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/csharp/linq/perform-grouped-joins.md b/docs/csharp/linq/perform-grouped-joins.md index 97d85e5b37101..217d3cc64ca4a 100644 --- a/docs/csharp/linq/perform-grouped-joins.md +++ b/docs/csharp/linq/perform-grouped-joins.md @@ -1,7 +1,7 @@ --- title: Perform grouped joins (LINQ in C#) description: Learn how to perform grouped joins using LINQ in C#. -ms.date: 12/01/2016 +ms.date: 04/22/2020 ms.assetid: 9667daf9-a5fd-4b43-a5c4-a9c2b744000e --- # Perform grouped joins @@ -13,6 +13,9 @@ For example, a class or a relational database table named `Student` might contai > [!NOTE] > Each element of the first collection appears in the result set of a group join regardless of whether correlated elements are found in the second collection. In the case where no correlated elements are found, the sequence of correlated elements for that element is empty. The result selector therefore has access to every element of the first collection. This differs from the result selector in a non-group join, which cannot access elements from the first collection that have no match in the second collection. +> [!WARNING] +> has no direct equivalent in traditional relational database terms. However, this method does implement a superset of inner joins and left outer joins. Both of these operations can be written in terms of a grouped join. For more information, see [Join Operations](../programming-guide/concepts/linq/join-operations.md). + The first example in this article shows you how to perform a group join. The second example shows you how to use a group join to create XML elements. ## Example - Group join From ba6a38f4f13e15247756dcaa1382278da6419529 Mon Sep 17 00:00:00 2001 From: David Pine Date: Wed, 22 Apr 2020 13:23:11 -0500 Subject: [PATCH 2/2] Added EF Core GroupJoin link too. --- docs/csharp/linq/perform-grouped-joins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/csharp/linq/perform-grouped-joins.md b/docs/csharp/linq/perform-grouped-joins.md index 217d3cc64ca4a..e69792b3d4ee2 100644 --- a/docs/csharp/linq/perform-grouped-joins.md +++ b/docs/csharp/linq/perform-grouped-joins.md @@ -14,7 +14,7 @@ For example, a class or a relational database table named `Student` might contai > Each element of the first collection appears in the result set of a group join regardless of whether correlated elements are found in the second collection. In the case where no correlated elements are found, the sequence of correlated elements for that element is empty. The result selector therefore has access to every element of the first collection. This differs from the result selector in a non-group join, which cannot access elements from the first collection that have no match in the second collection. > [!WARNING] -> has no direct equivalent in traditional relational database terms. However, this method does implement a superset of inner joins and left outer joins. Both of these operations can be written in terms of a grouped join. For more information, see [Join Operations](../programming-guide/concepts/linq/join-operations.md). +> has no direct equivalent in traditional relational database terms. However, this method does implement a superset of inner joins and left outer joins. Both of these operations can be written in terms of a grouped join. For more information, see [Join Operations](../programming-guide/concepts/linq/join-operations.md) and [Entity Framework Core, GroupJoin](https://docs.microsoft.com/ef/core/querying/complex-query-operators#groupjoin). The first example in this article shows you how to perform a group join. The second example shows you how to use a group join to create XML elements.