Beispiel #1
0
        /// <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);
        }
Beispiel #2
0
 /// <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);
 }
Beispiel #3
0
 /// <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);
 }