Skip to content

Commit 2c0886d

Browse files
authored
update whats new for preview2 (#4964)
1 parent bd8b054 commit 2c0886d

File tree

1 file changed

+6
-2
lines changed
  • entity-framework/core/what-is-new/ef-core-10.0

1 file changed

+6
-2
lines changed

entity-framework/core/what-is-new/ef-core-10.0/whatsnew.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ EF10 requires the .NET 10 SDK to build and requires the .NET 10 runtime to run.
2626

2727
<a name="support-left-join"></a>
2828

29-
### Support for the .NET 10 LeftJoin operator
29+
### Support for the .NET 10 `LeftJoin` and `RightJoin` operators
3030

3131
`LEFT JOIN` is a common and useful operation when working with EF Core. In previous versions, implementing `LEFT JOIN` in LINQ was quite complicated, requiring `SelectMany`, `GroupJoin` and `DefaultIfEmpty` operations [in a particular configuration](/dotnet/csharp/linq/standard-query-operators/join-operations#perform-left-outer-joins).
3232

@@ -46,7 +46,10 @@ var query = context.Students
4646
});
4747
```
4848

49-
See [#12793](https://github.com/dotnet/efcore/issues/12793) for more details.
49+
> [!NOTE]
50+
> EF 10 also supports the analogous `RightJoin` operator, which keeps all the data from the second collection and only the matching data from the first collection. EF 10 translates this to `RIGHT JOIN` operation in the database.
51+
52+
See [#12793](https://github.com/dotnet/efcore/issues/12793) and [#35367](https://github.com/dotnet/efcore/issues/35367) for more details.
5053

5154
<a name="other-query-improvements"></a>
5255

@@ -109,3 +112,4 @@ Thanks to [@aradalvand](https://github.com/aradalvand) for proposing and pushing
109112
## Other improvements
110113

111114
* Make SQL Server scaffolding compatible with Azure Data Explorer ([#34832](https://github.com/dotnet/efcore/pull/34832), contributed by [@barnuri](https://github.com/barnuri)).
115+
* Associate the DatabaseRoot with the scoped options instance and not the singleton options ([#34477](https://github.com/dotnet/efcore/pull/34477), contributed by [@koenigst](https://github.com/koenigst)).

0 commit comments

Comments
 (0)