예제 #1
0
 public UpdateResult(MongoDB.Driver.UpdateResult mongoUpdateResult)
 {
     acknowledged  = mongoUpdateResult.IsAcknowledged;
     modifiedCount = mongoUpdateResult.ModifiedCount;
     matchedCount  = mongoUpdateResult.MatchedCount;
     upsertedId    = mongoUpdateResult.UpsertedId;
 }
예제 #2
0
 internal UpdateResult(MongoDB.Driver.UpdateResult res)
 {
     _res = res ?? throw new ArgumentException("res");
 }