File tree Expand file tree Collapse file tree 4 files changed +9
-12
lines changed Expand file tree Collapse file tree 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
215215supported ...`` exception message, try the following
216216steps:
217217
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+}
223219   <https://www.mongodb.com/docs/mongodb-analyzer/current/>`__ to analyze your
224220   expressions.
225221#. Try to simplify your query where possible.
Original file line number Diff line number Diff line change @@ -198,13 +198,6 @@ relevant options.
198198       | **Default**: ``false``
199199       | **Connection URI Example**: {+not-available+}
200200
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- 
208201   * - **LoadBalanced**
209202     - | Specifies whether the driver is connecting to a load balancer. You can set this
210203       | 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.
2828The {+driver-short+} automatically translates LINQ queries into
2929:manual:`aggregation operations </aggregation>`.
3030
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+ 
3136The examples in this guide use the ``restaurants`` collection
3237in the ``sample_restaurants`` database provided in the :atlas:`Atlas sample datasets </sample-data>`.
3338To 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
6666  configuring authentication in the {+driver-short+}, see
6767  :ref:`Authentication Mechanisms. <csharp-authentication-mechanisms>`
6868
69+ - The LINQ2 provider has been removed from this version of the driver.
70+   You must use LINQ3 for all LINQ queries.
71+ 
6972.. _csharp-breaking-changes-2.28.0:
7073
7174Version 2.28.0 Potential Breaking Change
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments