File tree 4 files changed +9
-12
lines changed
4 files changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -215,11 +215,7 @@ If you receive an ``Unsupported filter ...`` or ``Expression not
215
215
supported ...`` exception message, try the following
216
216
steps:
217
217
218
- 1. Try configuring the new `LINQ3
219
- <https://mongodb.github.io/mongo-csharp-driver/2.17/reference/driver/crud/linq3/>`__
220
- provider. The LINQ3 provider contains many fixes and new features
221
- over the LINQ2 provider.
222
- #. Use the `{+analyzer+}
218
+ 1. Use the `{+analyzer+}
223
219
<https://www.mongodb.com/docs/mongodb-analyzer/current/>`__ to analyze your
224
220
expressions.
225
221
#. Try to simplify your query where possible.
Original file line number Diff line number Diff line change @@ -198,13 +198,6 @@ relevant options.
198
198
| **Default**: ``false``
199
199
| **Connection URI Example**: {+not-available+}
200
200
201
- * - **LinqProvider**
202
- - | The LINQ provider to use.
203
- |
204
- | **Data Type**: `LinqProvider <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.LinqProvider.html>`__
205
- | **Default**: ``LinqProvider.V3``
206
- | **Connection URI Example**: {+not-available+}
207
-
208
201
* - **LoadBalanced**
209
202
- | Specifies whether the driver is connecting to a load balancer. You can set this
210
203
| property to ``true`` only if:
Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ strongly typed collections of objects by using language keywords and operators.
28
28
The {+driver-short+} automatically translates LINQ queries into
29
29
:manual:`aggregation operations </aggregation>`.
30
30
31
+ .. important::
32
+
33
+ LINQ3 is the only LINQ provider available in the {+driver-long+}. If you have
34
+ manually configured your project to use LINQ2, it will not compile.
35
+
31
36
The examples in this guide use the ``restaurants`` collection
32
37
in the ``sample_restaurants`` database provided in the :atlas:`Atlas sample datasets </sample-data>`.
33
38
To learn how to create a free MongoDB Atlas cluster and load the sample datasets,
Original file line number Diff line number Diff line change @@ -66,6 +66,9 @@ Version 3.0 Potential Breaking Change
66
66
configuring authentication in the {+driver-short+}, see
67
67
:ref:`Authentication Mechanisms. <csharp-authentication-mechanisms>`
68
68
69
+ - The LINQ2 provider has been removed from this version of the driver.
70
+ You must use LINQ3 for all LINQ queries.
71
+
69
72
.. _csharp-breaking-changes-2.28.0:
70
73
71
74
Version 2.28.0 Potential Breaking Change
You can’t perform that action at this time.
0 commit comments