Uploaded image for project: 'Entity Framework'
  1. Entity Framework
  2. EF-83

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

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

      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@mongodb.com Damien Guard
            Reporter:
            sbrophy@raincityhousing.org Sean Brophy
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: