[CSHARP-3606] LINQ3: Remove IMongoQueryable from Linq3 and use shared IMongoQueryable instead Created: 22/Apr/21  Updated: 28/Oct/23  Resolved: 04/Oct/21

Status: Closed
Project: C# Driver
Component/s: LINQ3
Affects Version/s: None
Fix Version/s: 2.14.0

Type: Task Priority: Unknown
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by CSHARP-3598 LINQ3: Use the IMongoQueryable interf... Closed
Epic Link: CSHARP-2608

 Description   

Before we can implement a `UseLinq3` switch in `MongoCollectionSettings` we need the LINQ2 and LINQ3 versions of `AsQueryable` to both return the same `IMongoQueryable<T>` type (they will of course return different implementations of that interface).

To accomplish this remove the `IMongoQueryable` interface in LINQ3 and only use one interface shared between LINQ2 and LINQ3.



 Comments   
Comment by Robert Stam [ 22/Apr/21 ]

Done but not reviewed

Generated at Wed Feb 07 21:45:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.