Skip to content

Commit 5210c60

Browse files
authored
DOCSP-45274 - v2.21 EOL (#293)
1 parent 9619f2f commit 5210c60

File tree

8 files changed

+58
-55
lines changed

8 files changed

+58
-55
lines changed

snooty.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name = "csharp"
22
title = "C#/.NET"
3+
eol = true
34
toc_landing_pages = [
45
"/fundamentals/connection",
56
"/fundamentals/crud",
@@ -18,6 +19,7 @@ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
1819
[constants]
1920
driver-long = "MongoDB .NET/C# Driver"
2021
driver-short = ".NET/C# Driver"
22+
mdb-server = "MongoDB Server"
2123
lang-framework = ".NET/C#"
2224
framework = ".NET framework"
2325
framework-version = "4.8"
@@ -36,3 +38,10 @@ string-data-type = "``string``"
3638
int-data-type = "``integer``"
3739
not-available = "N/A"
3840
analyzer = "MongoDB C# Analyzer"
41+
42+
[[banners]]
43+
targets = ["*"]
44+
variant = "info"
45+
value = """\
46+
This version of the documentation is archived and no longer supported. View the `current documentation <https://www.mongodb.com/docs/drivers/csharp/current/>`__ to learn how to `upgrade your version of the {+driver-short+} <https://www.mongodb.com/docs/drivers/csharp/current/upgrade/>`__.\
47+
"""

source/fundamentals/aggregation.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ performing aggregation operations:
8484
of 16 megabytes.
8585

8686
- Pipeline stages have a memory limit of 100 megabytes by default. If required, you can exceed this limit by setting
87-
the `AllowDiskUse <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.AggregateOptions.AllowDiskUse.html#MongoDB_Driver_AggregateOptions_AllowDiskUse>`__
87+
the `AllowDiskUse <{+api-root+}/MongoDB.Driver/MongoDB.Driver.AggregateOptions.AllowDiskUse.html#MongoDB_Driver_AggregateOptions_AllowDiskUse>`__
8888
property of the ``AggregateOptions`` object that you pass to the ``Aggregate()`` method.
8989

9090
- The :manual:`$graphLookup </reference/operator/aggregation/graphLookup/>` stage has
@@ -212,10 +212,10 @@ API Documentation
212212
For more information about the aggregation operations discussed in this guide, see the
213213
following API documentation:
214214

215-
- `Aggregate() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoCollection-1.Aggregate.html>`__
216-
- `AggregateOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.AggregateOptions.html>`__
217-
- `Group() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Group.html>`__
218-
- `Match() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Match.html>`__
219-
- `Where() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.MongoQueryable.Where.html>`__
220-
- `GroupBy() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.MongoQueryable.GroupBy.html>`__
221-
- `Select() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.MongoQueryable.Select.html>`__
215+
- `Aggregate() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoCollection-1.Aggregate.html>`__
216+
- `AggregateOptions <{+api-root+}/MongoDB.Driver/MongoDB.Driver.AggregateOptions.html>`__
217+
- `Group() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Group.html>`__
218+
- `Match() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.PipelineStageDefinitionBuilder.Match.html>`__
219+
- `Where() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.MongoQueryable.Where.html>`__
220+
- `GroupBy() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.MongoQueryable.GroupBy.html>`__
221+
- `Select() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Linq.MongoQueryable.Select.html>`__

source/fundamentals/crud/read-operations/change-streams.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ API Documentation
310310
To learn more about any of the methods or types discussed in this
311311
guide, see the following API documentation:
312312

313-
- `Watch() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.Watch.html>`__
314-
- `WatchAsync() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.WatchAsync.html>`__
315-
- `ChangeStreamOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.ChangeStreamOptions.html>`__
316-
- `UpdateOne() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoCollectionExtensions.UpdateOne.html>`__
313+
- `Watch() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.Watch.html>`__
314+
- `WatchAsync() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.WatchAsync.html>`__
315+
- `ChangeStreamOptions <{+api-root+}/MongoDB.Driver/MongoDB.Driver.ChangeStreamOptions.html>`__
316+
- `UpdateOne() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoCollectionExtensions.UpdateOne.html>`__

source/fundamentals/database-collection.txt

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,18 @@ Access a Database
3535
-----------------
3636

3737
You can access a database by retrieving an `IMongoDatabase
38-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.html>`__
38+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.html>`__
3939
instance from your ``IMongoClient`` instance. You can use
4040
the returned ``IMongoDatabase`` instance to perform database-level operations and access
4141
collections that the database contains.
4242

4343
To create an ``IMongoDatabase``, call the `GetDatabase()
44-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.GetDatabase.html>`__
44+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.GetDatabase.html>`__
4545
method on an `IMongoClient
46-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.html>`__
46+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.html>`__
4747
instance, passing the database name as a
4848
parameter. You can also pass an optional `MongoDatabaseSettings
49-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoDatabaseSettings.html>`__
49+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoDatabaseSettings.html>`__
5050
as a parameter to customize how you access a database.
5151

5252
If you pass the name of a nonexistent database to the ``GetDatabase()``
@@ -68,16 +68,16 @@ List Databases
6868

6969
To see a list of your deployment's databases, call the
7070
asynchronous `ListDatabaseNamesAsync()
71-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.ListDatabaseNamesAsync.html>`__
71+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.ListDatabaseNamesAsync.html>`__
7272
method or synchronous `ListDatabaseNames()
73-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.ListDatabaseNames.html>`__ method on
73+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.ListDatabaseNames.html>`__ method on
7474
your ``IMongoClient`` instance.
7575

7676
To see detailed information about each database, call the
7777
asynchronous `ListDatabasesAsync()
78-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.ListDatabasesAsync.html>`__
78+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.ListDatabasesAsync.html>`__
7979
method or synchronous `ListDatabases()
80-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.ListDatabases.html>`__ method on
80+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.ListDatabases.html>`__ method on
8181
your ``IMongoClient`` instance. These methods return fields describing
8282
the databases in the cluster, such as their sizes and whether they contain data.
8383

@@ -109,9 +109,9 @@ Drop a Database
109109
Dropping a database permanently deletes all the data in that database's
110110
collections. To drop a database, call the
111111
asynchronous `DropDatabaseAsync()
112-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.DropDatabaseAsync.html>`__
112+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.DropDatabaseAsync.html>`__
113113
method or synchronous `DropDatabase()
114-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.DropDatabase.html>`__
114+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoClient.DropDatabase.html>`__
115115
method on your ``IMongoClient`` instance, passing the database name as
116116
the parameter.
117117

@@ -147,14 +147,14 @@ Access a Collection
147147
-------------------
148148

149149
You can access a collection by retrieving an `IMongoCollection
150-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoCollection-1.html>`__
150+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoCollection-1.html>`__
151151
instance from your database. You can use an ``IMongoCollection``
152152
instance to perform data operations,
153153
create aggregations, and manage indexes. To retrieve an
154154
``IMongoCollection``, call the `GetCollection()
155-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.GetCollection.html>`__
155+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.GetCollection.html>`__
156156
method on an ``IMongoDatabase`` instance. You can also pass an optional `MongoCollectionSettings
157-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoCollectionSettings.html>`__
157+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoCollectionSettings.html>`__
158158
as a parameter to customize how you access a collection.
159159

160160
If you pass the name of a nonexistent collection to this method, the
@@ -206,14 +206,14 @@ Create a Collection
206206

207207
You can explicitly create a collection by calling the
208208
asynchronous `CreateCollectionAsync()
209-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.CreateCollectionAsync.html>`__
209+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.CreateCollectionAsync.html>`__
210210
method or synchronous `CreateCollection()
211-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.CreateCollection.html>`__
211+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.CreateCollection.html>`__
212212
method on your ``IMongoDatabase`` instance.
213213

214214
This method takes the collection name and an
215215
optional `CreateCollectionOptions
216-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.CreateCollectionOptions.html>`__ type as
216+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.CreateCollectionOptions.html>`__ type as
217217
parameters. You can then access the created collection to perform data
218218
operations, create aggregations, and manage indexes.
219219

@@ -245,16 +245,16 @@ List Collections
245245

246246
To see a list of collections in a database, call the
247247
asynchronous `ListCollectionNamesAsync()
248-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.ListCollectionNamesAsync.html>`__
248+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.ListCollectionNamesAsync.html>`__
249249
method or synchronous `ListCollectionNames()
250-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.ListCollectionNames.html>`__ method on
250+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.ListCollectionNames.html>`__ method on
251251
your ``IMongoDatabase`` instance.
252252

253253
To see detailed information about each database, call the
254254
asynchronous `ListCollectionsAsync()
255-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.ListCollectionsAsync.html>`__
255+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.ListCollectionsAsync.html>`__
256256
method or synchronous `ListCollections()
257-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.ListCollections.html>`__ method on
257+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.ListCollections.html>`__ method on
258258
your ``IMongoDatabase`` instance. These methods return fields describing
259259
the collections in the database, such as their types and settings.
260260

@@ -287,9 +287,9 @@ Drop a Collection
287287

288288
Dropping a collection permanently deletes all the data in that
289289
collection. To drop a collection, call the asynchronous `DropCollectionAsync()
290-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.DropCollectionAsync.html>`__ method or the
290+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.DropCollectionAsync.html>`__ method or the
291291
synchronous `DropCollection()
292-
<{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.DropCollection.html>`__
292+
<{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.DropCollection.html>`__
293293
method on your ``IMongoCollection`` instance.
294294

295295
The following code shows how to use the asynchronous

source/fundamentals/indexes.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ documentation.
215215
The Atlas Search Index management methods run asynchronously. The
216216
driver methods can return before confirming that they ran
217217
successfully. To determine the current status of the indexes, call the
218-
`IMongoSearchIndexManager.List() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.Search.IMongoSearchIndexManager.List.html>`__ method.
218+
`IMongoSearchIndexManager.List() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.Search.IMongoSearchIndexManager.List.html>`__ method.
219219

220220
The following sections contain links to tutorials that demonstrate how to create and
221221
interact with Atlas Search indexes.
@@ -421,7 +421,7 @@ Server manual.
421421
List Indexes
422422
------------
423423

424-
You can use the `List() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoIndexManager-1.List.html>`__
424+
You can use the `List() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoIndexManager-1.List.html>`__
425425
method to retrieve a list of indexes in your collection.
426426

427427
The following example uses the ``List()`` method to list

source/fundamentals/time-series.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ API Documentation
108108
To learn more about any of the methods or types discussed in this
109109
guide, see the following API documentation:
110110

111-
- `CreateCollection() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.CreateCollection.html>`__
112-
- `CreateCollectionOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.CreateCollectionOptions.html>`__
113-
- `TimeSeriesOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.TimeSeriesOptions.html>`__
114-
- `ListCollections() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.ListCollections.html>`__
115-
- `ListCollectionsAsync() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.ListCollectionsAsync.html>`__
111+
- `CreateCollection() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.CreateCollection.html>`__
112+
- `CreateCollectionOptions <{+api-root+}/MongoDB.Driver/MongoDB.Driver.CreateCollectionOptions.html>`__
113+
- `TimeSeriesOptions <{+api-root+}/MongoDB.Driver/MongoDB.Driver.TimeSeriesOptions.html>`__
114+
- `ListCollections() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.ListCollections.html>`__
115+
- `ListCollectionsAsync() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IMongoDatabase.ListCollectionsAsync.html>`__

source/fundamentals/transactions.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,10 @@ API Documentation
218218
To learn more about any of the types or methods discussed in this
219219
guide, see the following API Documentation:
220220

221-
- `IClientSession <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IClientSession.html>`__
222-
- `MongoClient <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClient.html>`__
223-
- `StartTransaction() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IClientSession.StartTransaction.html>`__
224-
- `AbortTransaction() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IClientSession.AbortTransaction.html>`__ / `AbortTransactionAsync() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IClientSession.AbortTransactionAsync.html>`__
225-
- `CommitTransaction() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IClientSession.CommitTransaction.html>`__ / `CommitTransactionAsync() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IClientSession.CommitTransactionAsync.html>`__
226-
- `WithTransaction() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IClientSession.WithTransaction.html>`__ / `WithTransactionAsync() <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.IClientSession.WithTransactionAsync.html>`__
227-
- `TransactionOptions <{+new-api-root+}/MongoDB.Driver/MongoDB.Driver.TransactionOptions.html>`__
221+
- `IClientSession <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IClientSession.html>`__
222+
- `MongoClient <{+api-root+}/MongoDB.Driver/MongoDB.Driver.MongoClient.html>`__
223+
- `StartTransaction() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IClientSession.StartTransaction.html>`__
224+
- `AbortTransaction() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IClientSession.AbortTransaction.html>`__ / `AbortTransactionAsync() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IClientSession.AbortTransactionAsync.html>`__
225+
- `CommitTransaction() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IClientSession.CommitTransaction.html>`__ / `CommitTransactionAsync() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IClientSession.CommitTransactionAsync.html>`__
226+
- `WithTransaction() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IClientSession.WithTransaction.html>`__ / `WithTransactionAsync() <{+api-root+}/MongoDB.Driver/MongoDB.Driver.IClientSession.WithTransactionAsync.html>`__
227+
- `TransactionOptions <{+api-root+}/MongoDB.Driver/MongoDB.Driver.TransactionOptions.html>`__

source/upgrade.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Upgrade Driver Versions
1010
:depth: 1
1111
:class: singlecol
1212

13-
1413
Overview
1514
--------
1615

@@ -132,9 +131,4 @@ Version 2.14 Release Support Changes
132131

133132
- The v2.14 driver drops support for MongoDB Server v3.4 and earlier. To
134133
use any driver from v2.14 and later, your MongoDB Server must be v3.6 or
135-
later. To learn how to upgrade your MongoDB Server to v3.6, follow the
136-
link that corresponds to your MongoDB deployment configuration:
137-
138-
- :ref:`<3.6-upgrade-replica-set>`
139-
- :ref:`<3.6-upgrade-standalone>`
140-
- :ref:`<3.6-upgrade-sharded-cluster>`
134+
later.

0 commit comments

Comments
 (0)