Set Value to a BsonElement

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Blocker - P1
    • None
    • Affects Version/s: 2.0
    • Environment:
      - VS 2013
      - NET Frameworks 4.5.1
      - Windows 8.1 x64
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi,
      I want to set a value to a bson element in C# driver 2.0, in last version 1.9.2 this code works ok:
      date.Value = BsonValue.Create(date.Value.ToUniversalTime().ToString("o"));
      but in the new version 2.0, Value only have get and i don't find how to set the value.

            Assignee:
            Unassigned
            Reporter:
            petrica [X]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: