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

GetRecord() public method

Gets a raw record from local store. If the dataset/key combo doesn't // exist, null will be returned.
public GetRecord ( string identityId, string datasetName, string key ) : Record
identityId string Identity identifier.
datasetName string Dataset name.
key string Key for the record.
return Amazon.CognitoSync.SyncManager.Record
        public Record GetRecord(string identityId, string datasetName, string key)
        {
            lock (sqlite_lock)
            {
                Record record = null;

                string query = RecordColumns.BuildQuery(
                    RecordColumns.IDENTITY_ID + " = @identityId AND " +
                    RecordColumns.DATASET_NAME + " = @datasetName AND " +
                    RecordColumns.KEY + " = @key "
                );
                record = GetRecordHelper(query, identityId, datasetName, key);
                return record;
            }
        }