dotnet / EntityFramework.Docs

Documentation for Entity Framework Core and Entity Framework 6
https://docs.microsoft.com/ef/
Creative Commons Attribution 4.0 International
1.63k stars 1.96k forks source link

Async explicit client-side evaluation #4832

Open shravan2x opened 1 month ago

shravan2x commented 1 month ago

The docs provide an example for explicit client-side evaluation as

var blogs = context.Blogs
    .AsEnumerable()
    .Where(blog => StandardizeUrl(blog.Url).Contains("dotnet"))
    .ToList();

Is there an async equivalent for .AsEnumerable() (is it .AsAsyncEnumerable())? If so, could it be added to the documentation?

roji commented 1 month ago

That's detailed in this page.

I'm planning to work on the client vs. server evaluation page which you mention above, I'll include an async sample there as well.