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

x => x.ToLower().Equals("firstname") throws NotSupportedException

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 2.14.0
    • 2.11.6
    • LINQ3
    • None

    Description

      Hello,

      AS-IS :
      When i'm trying to execute the following LINQ request x => x.ToLower().Equals("firstname"), the following exception is thrown: toLower is not supported, i'm using the version '2.11.6'.
      I need this feature to perform "case insensitive" search.

      TO-BE:
      I made some modifications in the pull request to support this feature : https://github.com/mongodb/mongo-csharp-driver/pull/440

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            habarthierry@gmail.com Thierry Habart
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: