File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
tests/MongoDB.Driver.Examples/TransactionExamplesForDocs Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public void Example1()
41
41
// For a replica set, include the replica set name and a seedlist of the members in the URI string; e.g.
42
42
// string uri = "mongodb://mongodb0.example.com:27017,mongodb1.example.com:27017/?replicaSet=myRepl";
43
43
// For a sharded cluster, connect to the mongos instances; e.g.
44
- // string uri = "mongodb://mongos0.example.com:27017,mongos1.example.com:27017:27017 /";
44
+ // string uri = "mongodb://mongos0.example.com:27017,mongos1.example.com:27017/";
45
45
var client = new MongoClient ( connectionString ) ;
46
46
47
47
// Prereq: Create collections. CRUD operations in transactions must be on existing collections.
You can’t perform that action at this time.
0 commit comments