File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
src/MongoDB.Driver.Legacy Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -571,7 +571,8 @@ public virtual FindAndModifyResult FindAndModify(FindAndModifyArgs args)
571571 MaxTime = args . MaxTime ,
572572 Projection = projection ,
573573 ReturnDocument = returnDocument ,
574- Sort = sort
574+ Sort = sort ,
575+ WriteConcern = _settings . WriteConcern
575576 } ;
576577 }
577578 else
@@ -583,7 +584,8 @@ public virtual FindAndModifyResult FindAndModify(FindAndModifyArgs args)
583584 MaxTime = args . MaxTime ,
584585 Projection = projection ,
585586 ReturnDocument = returnDocument ,
586- Sort = sort
587+ Sort = sort ,
588+ WriteConcern = _settings . WriteConcern
587589 } ;
588590 }
589591
@@ -640,8 +642,8 @@ public virtual FindAndModifyResult FindAndRemove(FindAndRemoveArgs args)
640642 {
641643 MaxTime = args . MaxTime ,
642644 Projection = projection ,
643- Sort = sort
644-
645+ Sort = sort ,
646+ WriteConcern = _settings . WriteConcern
645647 } ;
646648
647649 try
You can’t perform that action at this time.
0 commit comments