Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# mongodb update multiple fields

var update = Update<Person>.
    Set(p => p.Email, "jdoe@gmail.com").
    Set(p => p.Phone, "4455512");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mongodb #update #multiple #fields
ADD COMMENT
Topic
Name
7+2 =