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

Comment on: "MongoDB C# driver"

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • None
    • Affects Version/s: None
    • Component/s: None
    • Environment:

      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

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

              Created:
              Updated:
              Resolved: