Skip to content

Commit 2f9e964

Browse files
authored
CSHARP-4206: Update LINQ3 docs to note that the LINQ3 provider is production-ready. (#844)
1 parent 0b606c1 commit 2f9e964

File tree

1 file changed

+6
-4
lines changed
  • Docs/reference/content/reference/driver/crud

1 file changed

+6
-4
lines changed

Docs/reference/content/reference/driver/crud/linq3.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ title = "LINQ3"
1111

1212
## LINQ3
1313

14-
We are in the process of rewriting our LINQ provider. The new LINQ provider is known as LINQ3. The current LINQ provider is known as LINQ2 (and LINQ1 is the now obsolete LINQ provider in the v1.x releases of the driver).
14+
We have implemented a new LINQ provider, which is known as LINQ3. The current LINQ provider is known as LINQ2 (and LINQ1 is the now-obsolete LINQ provider in the v1.x releases of the driver).
1515

16-
While we fully transition to the new LINQ provider the two LINQ providers will exist side by side, and LINQ2 will continue to be the default LINQ provider for the time being.
16+
While we fully transition to the new LINQ provider the two LINQ providers will exist side by side. LINQ2 will continue to be the default LINQ provider for the time being.
1717

18-
In version 2.14.0 of the driver we are making the new LINQ provider available in beta form. In order to use it you have to configure your client to use the new LINQ provider, as follows:
18+
LINQ3 is production-ready. It fixes many LINQ2 bugs and offers support for a variety of new aggregation pipeline features present in newer server versions. We encourage all users to switch to LINQ3 and report any issues encountered. The [MongoDB Analyzer](https://www.mongodb.com/docs/mongodb-analyzer/current/) will provide tooltips indicating whether a particular query is supported in LINQ2, LINQ3, or both.
19+
20+
You can opt into the new LINQ3 provider by configuring your `MongoClient` to use the new LINQ provider as follows:
1921

2022
```csharp
2123
var connectionString = "mongodb://localhost";
@@ -24,4 +26,4 @@ clientSettings.LinqProvider = LinqProvider.V3;
2426
var client = new MongoClient(clientSettings);
2527
```
2628

27-
The LINQ provider is only configurable at the client level. All LINQ queries run with a particular client use the same LINQ provider.
29+
The LINQ provider is only configurable at the `MongoClient` level. All LINQ queries run with a particular `MongoClient` use the same LINQ provider.

0 commit comments

Comments
 (0)