Deprecate MongoServer and MongoDatabase indexers in favor of GetDatabase and GetCollection

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 1.8
    • Affects Version/s: 1.7
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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.

              Assignee:
              Robert Stam
              Reporter:
              Robert Stam
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: