File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ The following example shows how to create a session by calling the ``StartSessio
4949method:
5050
5151.. code-block::
52+ :language: csharp
5253
5354 var client = new MongoClient("mongodb://localhost:27017");
5455 var session = client.StartSession();
@@ -83,7 +84,7 @@ describes the properties that you can set on a ``ClientSessionOptions`` object:
8384 | **Default**: ``true``
8485
8586 * - ``DefaultTransactionOptions``
86- - The default transaction options for the session. This includes the maximum commit
87+ - Specifies the default transaction options for the session. This includes the maximum commit
8788 time, read concern, read preference, and write concern.
8889 |
8990 | **Data Type**: `TransactionOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.TransactionOptions.html>`__
@@ -100,6 +101,7 @@ describes the properties that you can set on a ``ClientSessionOptions`` object:
100101The following code example shows how to create a session with custom options:
101102
102103.. code-block::
104+ :language: csharp
103105
104106 var client = new MongoClient("mongodb://localhost:27017");
105107 var sessionOptions = new ClientSessionOptions
You can’t perform that action at this time.
0 commit comments