public void InsertMany(IEnumerable <WordHashtagPair> pairs)
 {
     _pipelineRepo.InsertMany(pairs);
     _postgreRepo.InsertMany(pairs);
 }
예제 #2
0
 private void PersistWordHashPairs(ICollection <WordHashtagPair> wordHashPairs)
 {
     _repo.InsertMany(wordHashPairs);
     WordHashtagPairsStored += (uint)wordHashPairs.Count;
 }