Add support for anonymous types

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      All
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The C# driver should include support for anonymous types when manipulating documents.
      Example:
      var mongo = new Mongo();
      mongo.Connect();
      var db = mongo["testdb"];
      var col = db["categories"];
      var doc = new Document();
      doc.Append("Name", new

      { Foo = "Bar" }

      );
      col.Insert(doc);

      The same should work for querying, updating and deleting.

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

              Created:
              Updated:
              Resolved: