SqlSyntax.AutoBracketValid method
namespace: Serenity.Data assembly: Serenity.Net.Services
Automatically brackets the string based on dialect.AutoQuotedIdentifier setting, only if the identifier is valid.
public static string AutoBracketValid(string s, ISqlDialect dialect = null)
| parameter | description |
|---|---|
| s | The string. |
| dialect | Target dialect, SqlSettings.DefaultDialect is used if null. |
See Also
- interface ISqlDialect
- class SqlSyntax