File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -78,11 +78,6 @@ as follows:
78
78
var restaurantsCollection = restaurantsDatabase.GetCollection<Restaurant>("restaurants");
79
79
var queryableCollection = restaurantsCollection.AsQueryable();
80
80
81
- The ``AsQueryable()`` method returns an `IMongoQueryable
82
- <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.IMongoQueryable.html>`__ instance that
83
- has the ``IQueryable`` extension methods, along with a set of
84
- MongoDB specific methods.
85
-
86
81
Once you have the queryable object, you can compose a query using
87
82
**method syntax**. Some pipeline stages also support **query comprehension syntax**,
88
83
which resembles SQL query syntax.
Original file line number Diff line number Diff line change @@ -66,6 +66,10 @@ 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
+ - This version of the driver replaces the ``IMongoQueryable`` interface with the
70
+ ``IQueryable`` interface, following the pattern used by most other LINQ providers. If your
71
+ application contains references to ``IMongoQueryable``, replace them with ``IQueryable``.
72
+
69
73
- This version removes the ``ClusterBuilder.ConfigureSdamLogging()`` method.
70
74
To configure logging in your application, see the :ref:`csharp-logging` guide.
71
75
You can’t perform that action at this time.
0 commit comments