Skip to content

Commit 5ae79e4

Browse files
committed
fixes
1 parent c01c830 commit 5ae79e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/crud/transactions.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ instantiating a new client each time.
4848
The following example shows how to create a session by calling the ``StartSession()``
4949
method:
5050

51-
.. code-block::
52-
:language: csharp
51+
.. code-block:: csharp
52+
:copyable: true
5353

5454
var client = new MongoClient("mongodb://localhost:27017");
5555
var session = client.StartSession();
@@ -100,8 +100,8 @@ describes the properties that you can set on a ``ClientSessionOptions`` object:
100100

101101
The following code example shows how to create a session with custom options:
102102

103-
.. code-block::
104-
:language: csharp
103+
.. code-block:: csharp
104+
:copyable: true
105105

106106
var client = new MongoClient("mongodb://localhost:27017");
107107
var sessionOptions = new ClientSessionOptions

0 commit comments

Comments
 (0)