mongodb update multiple documents query with where clause code example
Example 1: c# mongodb update multiple fields
var update = Update.Set("Email", "[email protected]")
.Set("Phone", "4455512");
Example 2: c# mongodb update multiple fields
var update = Update<Person>.
Set(p => p.Email, "[email protected]").
Set(p => p.Phone, "4455512");