Skip to content

Commit f4ce348

Browse files
committed
nr feedback
1 parent dff2526 commit f4ce348

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/crud/transactions.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ The following example shows how to create a session by calling the ``StartSessio
4949
method:
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:
100101
The 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

0 commit comments

Comments
 (0)