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; } }