[CSHARP-1472] ToListAsync() for IQueryable Created: 09/Nov/15 Updated: 09/Mar/16 Resolved: 09/Mar/16 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Linq |
| Affects Version/s: | 2.0.1 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Dan Danneberg | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
In MongoDB.Driver.2.1.0\lib\net45\MongoDB.Driver.dll I have found the class MongoDB.Driver.Linq.MongoQueryable whih defines extension methods for IQueryable. I'm missing: public static Task<List<TSource>> ToListAsync<TSource>(this IQueryable<TSource> source, CancellationToken cancellationToken = null) Although: Workaround: Own extension class: } |
| Comments |
| Comment by Craig Wilson [ 09/Mar/16 ] |
|
Hi Dan, We have these extension methods defined on IMongoQueryable. We won't be adding them to the generic IQueryable method. Craig |