Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-906

Comment on: "ecosystem/tutorial/use-csharp-driver.txt"

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • None
    • Affects Version/s: None
    • Component/s: Documentation
    • Environment:

      "It is important to note that sometimes the Add methods do NOT add a new element. If the value supplied is null (or the condition supplied in the last overload is false) then the element isn’t added. "

      I tried this one, and the null value is still added.
      int? age = null;
      BsonDocument nested = new BsonDocument {

      { "name", "abc"}

      ,

      {"age",age}

      };

      Reporter: bargitta
      E-mail: bargittachen@gmail.com

            Assignee:
            Unassigned Unassigned
            Reporter:
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: