EF Entities with Lists of objects containing Lists of objects will cause Linq 'InvalidOperationException' when queried on

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Unknown
    • 8.0.0
    • Affects Version/s: Public Preview 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Steps to reproduce:

      • Create an EF Entity with a List of objects, containing a List of objects
      • Create your matching MongoDB database and setup your database connection (you can actually get away with a valid connection string only to repro the issue)
      • Write a Linq or Lambda expression to query the Entity, on any of its members, _id will work
      • Query causes invalid operation exception to be thrown

      Notes:

      Minimal repro here: https://github.com/seannybgoode/MongoEFCoreListsBugDemo/tree/master

      Worked with Damien Guard on this, and he assessed that this is separate from EF-63

              Assignee:
              Damien Guard
              Reporter:
              Sean Brophy
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: