diff --git a/source/fundamentals/linq.txt b/source/fundamentals/linq.txt index 253846d8..bf8b4345 100644 --- a/source/fundamentals/linq.txt +++ b/source/fundamentals/linq.txt @@ -78,11 +78,6 @@ as follows: var restaurantsCollection = restaurantsDatabase.GetCollection("restaurants"); var queryableCollection = restaurantsCollection.AsQueryable(); -The ``AsQueryable()`` method returns an `IMongoQueryable -<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.IMongoQueryable.html>`__ instance that -has the ``IQueryable`` extension methods, along with a set of -MongoDB specific methods. - Once you have the queryable object, you can compose a query using **method syntax**. Some pipeline stages also support **query comprehension syntax**, which resembles SQL query syntax. diff --git a/source/upgrade.txt b/source/upgrade.txt index c1347c6a..106a62ac 100644 --- a/source/upgrade.txt +++ b/source/upgrade.txt @@ -66,6 +66,10 @@ Version 3.0 Potential Breaking Change configuring authentication in the {+driver-short+}, see :ref:`Authentication Mechanisms. ` +- This version of the driver replaces the ``IMongoQueryable`` interface with the + ``IQueryable`` interface, following the pattern used by most other LINQ providers. If your + application contains references to ``IMongoQueryable``, replace them with ``IQueryable``. + - This version removes the ``ClusterBuilder.ConfigureSdamLogging()`` method. To configure logging in your application, see the :ref:`csharp-logging` guide.