Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-3605

LINQ3: Add QueryableExecutionModel3 class for LINQ2 interoperability

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.14.0
    • Affects Version/s: None
    • Component/s: LINQ3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

       

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: