/// <summary> /// Sanitize an input string. /// </summary> /// <param name="s">The value to sanitize.</param> /// <returns>A sanitized string.</returns> public string SanitizeString(string s) { if (String.IsNullOrEmpty(s)) { return(s); } return(MysqlHelper.SanitizeString(s)); }
internal static string PreparedStringValue(string s) { return("'" + MysqlHelper.SanitizeString(s) + "'"); }