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

LINQ3: Translate `F is D` to filter on discriminator

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 2.14.0
    • None
    • LINQ3
    • None

    Description

      If F is of type C and D is a subclass of C, translate:

      document.F is D 

      to:

      { "F._t" : "D" } 

      Note: the actual values for _t and D should be determined using the appropriate discriminator convention.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: