-
Type: Bug
-
Resolution: Won't Fix
-
None
-
Affects Version/s: None
-
Component/s: None
-
Environment:
*Location*: http://docs.mongodb.org/manual/
*User-Agent*: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36
*Screen Resolution*: 1920 x 1080
*repo*: docs
*source*: index
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