예제 #1
0
 public void UpdateAPerfs(APerfs aperfs) => collection.UpdateOne(x => x.ContestID == aperfs.ContestID, new UpdateDefinitionBuilder <APerfs>().Set(x => x.APerfDic, aperfs.APerfDic));
예제 #2
0
 public void CreateAPerfs(APerfs aperfs) => collection.InsertOne(aperfs);