dataobjects-net icon indicating copy to clipboard operation
dataobjects-net copied to clipboard

Make EntitySet<T> implement IAsyncEnumerable<T> so that we can use ToListAsync() on EntitySet<T>

Open axmty opened this issue 6 months ago • 0 comments

#394

In previous version of DataObjects, we could use AsAsync() on both IQueryable<T> and EntitySet<T>. Now that AsAsync() has been removed, we expect ToListAsync() to work for both IQueryable<T> and EntitySet<T> types, but there is a runtime error since EntitySet<T> does not implement IAsyncEnumerable<T>.

axmty avatar Aug 02 '24 11:08 axmty