简体   繁体   中英

.NET 6 New LINQ Features with Entity Framework

In .NET 6 there are some nice new LINQ extension methods, eg

var oldest = context.People.MaxBy(p => p.Age);

However, these features do not yet seem to be supported by EF providers (certainly not SQLite or SQLServer, both version 6.0.0).

Does anyone know when these are planned to be available in these providers?

Currently they are not supported by EF Core (at least by providers shipped by EF Core team) and are investigated by the team for support in 7.0. See this github issue.

And this issue for other new LINQ features.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM