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

Comment on: "MongoDB C# driver"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      the class MongoCollectionStringBuidler has a bug.
      if remove any connection string parameter by Remove method, the value still remains in it's property.
      for example:
      var builder = new MongoConnectionStringBuilder()
      builder.UserName = "abc";//The user name must be abc
      builder.Remove("username");//The user name must be null
      string username = builder.UserName;//The user name still is abc

      Reporter: Sean.Wood
      E-mail: dexiang.wu@gamil.com

      Attachments

        Activity

          People

            Unassigned Unassigned
            smokingdog dexiang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: