SqlSyntax.AutoBracket method

namespace: Serenity.Data   assemblySerenity.Net.Services

Automatically brackets the string based on SqlSettings.AutoQuotedIdentifier setting and keywords for the passed dialect.

public static string AutoBracket(string s, ISqlDialect dialect = null)
parameter description
s The string.
dialect The dialect

See Also