-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.0.1
-
Component/s: Operations
-
Labels:None
-
Environment:MongoDB 3.1.5
I want to create a database via C#
the code can't work as below:
var db = mongoSvr.GetDatabase(dbName);
but if I create a collection just after GetDatabase,new database and collection is append to the server.