public SetRangeInHash ( string key, string>.IEnumerable |
||
key | string | |
keyValuePairs | string>.IEnumerable | |
return | void |
public override void SetRangeInHash(string key, IEnumerable <KeyValuePair <string, string> > keyValuePairs) { using (var transaction = new MongoWriteOnlyTransaction(_dbContext)) { transaction.SetRangeInHash(key, keyValuePairs); transaction.Commit(); } }
public override void SetRangeInHash(string key, IEnumerable <KeyValuePair <string, string> > keyValuePairs) { using (var transaction = new MongoWriteOnlyTransaction(Database, _queueProviders, _storageOptions)) { transaction.SetRangeInHash(key, keyValuePairs); transaction.Commit(); } }