c# mongodb update multiple fields

68

c# mongodb update multiple fields -

var update = Update<Person>.
    Set(p => p.Email, "[email protected]").
    Set(p => p.Phone, "4455512");

Comments

Submit
0 Comments