<PackageReference Include="Relativity.Server.Utility.SDK" Version="5000.0.0" />

SqlNameHelper

public sealed class SqlNameHelper
public static string EscapeSqlLikeOperandString(string sqlLikeOperand)

public static string GetSqlAndXmlFriendlyName(string displayName, string defaultName)

public static string GetSqlFriendlyName(string displayName)

public static string GetSqlObjectName(string objectName)

Returns a string with the delimiters added to make the input string a valid SQL Server delimited identifier. Brackets are used as the delimiter. Unlike the T-SQL version, an ArgumentException Is thrown instead of returning a null for invalid arguments.

public static string GetSqlObjectName(string objectName, char quoteCharacter)

Returns a string with the delimiters added to make the input string a valid SQL Server delimited identifier. Unlike the T-SQL version, an ArgumentException is thrown instead of returning a null for invalid arguments.