Amazon.CognitoSync.SyncManager.Internal.SQLiteLocalStorage.PutAllValues C# (CSharp) Method

PutAllValues() public method

Puts a key-value map into a dataset. This is optimized for batch operation. It's the preferred way to put a list of records into dataset.
public PutAllValues ( string identityId, string datasetName, string>.IDictionary values ) : void
identityId string Identity identifier.
datasetName string Dataset name.
values string>.IDictionary a key-value map.
return void
        public void PutAllValues(string identityId, string datasetName, IDictionary<string, string> values)
        {
            lock (sqlite_lock)
            {
                foreach (KeyValuePair<string, string> entry in values)
                {
                    PutValueHelper(identityId, datasetName, entry.Key, entry.Value);
                }
                UpdateLastModifiedTimestamp(identityId, datasetName);
            }
        }