Class DataTools
- Namespace
- LinqToDB.DataProvider
- Assembly
- linq2db.dll
public static class DataTools
- Inheritance
-
DataTools
Fields
GetCharExpression
public static Expression<Func<DbDataReader, int, string>> GetCharExpression
Field Value
Methods
ConvertCharToSql(StringBuilder, string, Action<StringBuilder, int>, char)
public static void ConvertCharToSql(StringBuilder stringBuilder, string startString, Action<StringBuilder, int> appendConversion, char value)
Parameters
stringBuilder
StringBuilderstartString
stringappendConversion
Action<StringBuilder, int>value
char
ConvertStringToSql(StringBuilder, string, string?, Action<StringBuilder, int>, string, char[]?)
public static void ConvertStringToSql(StringBuilder stringBuilder, string plusOperator, string? startPrefix, Action<StringBuilder, int> appendConversion, string value, char[]? extraEscapes)
Parameters
stringBuilder
StringBuilderplusOperator
stringstartPrefix
stringappendConversion
Action<StringBuilder, int>value
stringextraEscapes
char[]
EscapeUnterminatedBracket(string?)
Improved version of Replace("[", "[[]")
code, used before.
public static string? EscapeUnterminatedBracket(string? str)
Parameters
str
string