[CSHARP-3605] LINQ3: Add QueryableExecutionModel3 class for LINQ2 interoperability 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 | ||
| Epic Link: | CSHARP-2608 |
| Description |
|
We want to use the existing `IMongoQueryable` in LINQ3, but the existing interface defines a method called `GetExecutionModel` that returns a `QueryableExecutionModel`. The closest class in LINQ3 is `ExecutableQuery`. Fortunately `QueryableExecutionModel` is an abstract class, so we can subclass it. Add a class called `QueryableExecutionModel3` that wraps an instance of `ExecutableQuery` and implements the abstract method defined in the abstract base class.
|
| Comments |
| Comment by Robert Stam [ 22/Apr/21 ] |
|
Done but not reviewed |