Skip to content

Commit 71129d5

Browse files
authored
DOCSP-43327 - ExpressionTranslationOptions (#233)
1 parent 67c79fb commit 71129d5

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

.github/workflows/check-autobuilder.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

source/fundamentals/connection/connection-options.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,14 @@ relevant options.
402402
| **Default**: ``null``
403403
| **Connection URI Example**: ``tlsDisableCertificateRevocationCheck=false``
404404

405+
* - **TranslationOptions**
406+
- | Specifies options, such as the {+mdb-server+} version, for translating LINQ
407+
| queries to the Query API.
408+
|
409+
| **Data Type**: `ExpressionTranslationOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.ExpressionTranslationOptions.html>`__
410+
| **Default**: ``null``
411+
| **Connection URI Example**: {+not-available+}
412+
405413
* - **UseTls**
406414
- | Specifies whether to require TLS for connections to the server. If you use
407415
| a scheme of ``"mongodb+srv"`` or specify other TLS options,

source/whats-new.txt

Lines changed: 3 additions & 0 deletions
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
- Adds support for the ``Half`` type, which represents a half-precision floating-point number.
5457
This type is available in .NET 5 and later.

0 commit comments

Comments
 (0)