We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recent .NET versions introduced a bunch of new methods on Queryable, which are not currently recognized by DO
Queryable
MaxBy MinBy
Order OrderDescending
etc.
It'd be great if we could take advantage of these new APIs or at least use the old implementation as a fallback for them.
MaxBy(x => x.Prop) can be often replaced with OrderByDecsending(x => x.Prop).FirstOrDefault() MinBy(x => x.Prop) <-> OrderBy(x => x.Prop).FirstOrDefault() Order() <-> OrderBy(x => x) OrderDescending() <-> OrderByDescending(x => x)
MaxBy(x => x.Prop)
OrderByDecsending(x => x.Prop).FirstOrDefault()
MinBy(x => x.Prop)
OrderBy(x => x.Prop).FirstOrDefault()
Order()
OrderBy(x => x)
OrderDescending()
OrderByDescending(x => x)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Recent .NET versions introduced a bunch of new methods on
Queryable
, which are not currently recognized by DO.NET 6:
MaxBy
MinBy
.NET 7
Order
OrderDescending
etc.
It'd be great if we could take advantage of these new APIs or at least use the old implementation as a fallback for them.
MaxBy(x => x.Prop)
can be often replaced withOrderByDecsending(x => x.Prop).FirstOrDefault()
MinBy(x => x.Prop)
<->OrderBy(x => x.Prop).FirstOrDefault()
Order()
<->OrderBy(x => x)
OrderDescending()
<->OrderByDescending(x => x)
The text was updated successfully, but these errors were encountered: