diff --git a/source/faq.txt b/source/faq.txt index d2dbfaa8..3cf1dae9 100644 --- a/source/faq.txt +++ b/source/faq.txt @@ -215,11 +215,7 @@ If you receive an ``Unsupported filter ...`` or ``Expression not supported ...`` exception message, try the following steps: -1. Try configuring the new `LINQ3 - `__ - provider. The LINQ3 provider contains many fixes and new features - over the LINQ2 provider. -#. Use the `{+analyzer+} +1. Use the `{+analyzer+} `__ to analyze your expressions. #. Try to simplify your query where possible. diff --git a/source/fundamentals/connection/connection-options.txt b/source/fundamentals/connection/connection-options.txt index 4774a762..aaf9323e 100644 --- a/source/fundamentals/connection/connection-options.txt +++ b/source/fundamentals/connection/connection-options.txt @@ -198,13 +198,6 @@ relevant options. | **Default**: ``false`` | **Connection URI Example**: {+not-available+} - * - **LinqProvider** - - | The LINQ provider to use. - | - | **Data Type**: `LinqProvider <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.LinqProvider.html>`__ - | **Default**: ``LinqProvider.V3`` - | **Connection URI Example**: {+not-available+} - * - **LoadBalanced** - | Specifies whether the driver is connecting to a load balancer. You can set this | property to ``true`` only if: diff --git a/source/fundamentals/linq.txt b/source/fundamentals/linq.txt index db1d84bc..253846d8 100644 --- a/source/fundamentals/linq.txt +++ b/source/fundamentals/linq.txt @@ -28,6 +28,11 @@ strongly typed collections of objects by using language keywords and operators. The {+driver-short+} automatically translates LINQ queries into :manual:`aggregation operations `. +.. important:: + + LINQ3 is the only LINQ provider available in the {+driver-long+}. If you have + manually configured your project to use LINQ2, it will not compile. + The examples in this guide use the ``restaurants`` collection in the ``sample_restaurants`` database provided in the :atlas:`Atlas sample datasets `. To learn how to create a free MongoDB Atlas cluster and load the sample datasets, diff --git a/source/upgrade.txt b/source/upgrade.txt index 65663444..f1af5f7f 100644 --- a/source/upgrade.txt +++ b/source/upgrade.txt @@ -66,6 +66,9 @@ Version 3.0 Potential Breaking Change configuring authentication in the {+driver-short+}, see :ref:`Authentication Mechanisms. ` +- The LINQ2 provider has been removed from this version of the driver. + You must use LINQ3 for all LINQ queries. + .. _csharp-breaking-changes-2.28.0: Version 2.28.0 Potential Breaking Change