/// <summary> /// Get a long string from the database /// </summary> /// <param name="get">String get request</param> /// <returns>Long string value, or null if not found</returns> public async Task <string> GetLongStringAsync(LongStringOp get) { string longString = await LongStrings.GetStringAsync(Ctxt, get.itemId, get.fieldName).ConfigureAwait(false); return(longString); }
/// <summary> /// Remove a long strings from the database /// </summary> /// <param name="del">String deletion request</param> public async Task DeleteLongStringAsync(LongStringOp del) { await LongStrings.DeleteStringAsync(Ctxt, del.itemId, del.fieldName).ConfigureAwait(false); }
/// <summary> /// Put a long strings into the database /// </summary> /// <param name="put">String put request</param> public async Task PutLongStringAsync(LongStringPut put) { await LongStrings.StoreStringAsync(Ctxt, put.itemId, put.fieldName, put.longString).ConfigureAwait(false); }