Amazon.CognitoSync.SyncManager.Internal.SQLiteLocalStorage.UpdateLastModifiedTimestamp C# (CSharp) Méthode

UpdateLastModifiedTimestamp() public méthode

Updates the last modified timestamp
public UpdateLastModifiedTimestamp ( string identityId, string datasetName ) : void
identityId string Identity Identifier.
datasetName string Dataset name.
Résultat void
        public void UpdateLastModifiedTimestamp(string identityId, string datasetName)
        {
            lock (sqlite_lock)
            {
                string query =
                    DatasetColumns.BuildUpdate(
                    new string[] { DatasetColumns.LAST_MODIFIED_TIMESTAMP },
                    DatasetColumns.IDENTITY_ID + " = @whereIdentityId AND " +
                    DatasetColumns.DATASET_NAME + " = @whereDatasetName "
                );
                UpdateLastModifiedTimestampHelper(query, DateTime.Now, identityId, datasetName);
            }
        }