Add LINQ3 support for untyped CreateQuery

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Unknown
    • 2.19.0
    • Affects Version/s: 2.18.0
    • Component/s: LINQ3
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      LINQ2 supported creating queries from expression trees via the MongoQueryProviderImpl.CreateQuery (non-generic) method.

      This mechanism is used by the Dynamic LINQ (it first converts a textual query into an expression tree and the passes it to CreateQuery).

      LINQ3 doesn't provide an implementation of this method (MongoQueryProvider.CreateQuery just throws).

      It should be simple to re-add the support for LINQ3 as LINQ2 simply used reflection to create the fully typed query object.

       

      I'm unsure if this was deliberately omitted from v3, apologies if that's the case.

      Many thanks

              Assignee:
              Robert Stam
              Reporter:
              Alistair Steele
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: