Skip to content

Commit fbc2dc9

Browse files
committed
first draft
1 parent d50f7bf commit fbc2dc9

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

source/fundamentals/connection/connection-options.txt

+8
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,14 @@ relevant options.
409409
| **Default**: ``null``
410410
| **Connection URI Example**: ``tlsDisableCertificateRevocationCheck=false``
411411

412+
* - **TranslationOptions**
413+
- | Specifies options, such as the {+mdb-server+} version, for translating LINQ
414+
| queries to the Query API.
415+
|
416+
| **Data Type**: `ExpressionTranslationOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.ExpressionTranslationOptions.html>`__
417+
| **Default**: ``null``
418+
| **Connection URI Example**: {+not-available+}
419+
412420
* - **UseTls**
413421
- | Specifies whether to require TLS for connections to the server. If you use
414422
| a scheme of ``"mongodb+srv"`` or specify other TLS options,

source/whats-new.txt

+3
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ The 3.0 driver release includes the following new features:
4949
`mongocsharpdriver <https://www.nuget.org/packages/mongocsharpdriver/#readme-body-tab>`__ NuGet package,
5050
which implements the v1.x driver API in driver versions 2.x. This package will no
5151
longer receive updates.
52+
- Adds the ``MongoClientSettings.TranslationOptions`` connection option, which specifies
53+
options for translating LINQ queries to the Query API. See :ref:`csharp-connection-options`
54+
for more information.
5255

5356
.. _csharp-version-2.28:
5457

0 commit comments

Comments
 (0)