-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 1.7
-
Component/s: None
-
None
The MongoServer and MongoDatabase indexers are redundant with the GetDatabase and GetCollection methods. While they have the advantage of brevity, they have the disadvantage of not being pure indexers (some of the arguments don't feel like indexes) and they also can't take type parameters which certain overloads of GetCollection require.
Rather than have two ways of doing the same thing we are going to deprecate the indexers and standardize on GetDatabase and GetCollection.