Database collections created by the c# driver do not prepend the "<dbname>." to the collection name

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Database collections created by the c# driver do not prepend the "<dbname>." to the collection name
      Example:
      /* Prerequisite: testdb does not exist */
      Mongo mongo = new Mongo();
      mongo.Connect();
      Database db = mongo["testdb"];
      db["testcollection"].Insert(new

      { Doc = "Doc" }

      );

      -> Expected: the created collection name is "testdb.testcollection"
      -> Observed: the created collection name is "testcollection"

      OBS: Verified with the mongo.exe command-line tool

            Assignee:
            Sam Corder
            Reporter:
            Felipe Lima
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: