Example #1
0
 /// <summary>
 /// Wraps the specified non-keyword token and its prefix according to
 /// the syntax of the SQL dialect being handled. For instance, in MySql
 /// this wraps a token into backticks, or in SQL Server into square
 /// brackets.
 /// </summary>
 /// <param name="prefix">The prefix.</param>
 /// <param name="token">The token.</param>
 /// <param name="suffix">An optional suffix to be appended at the end
 /// of the result.</param>
 /// <returns>The wrapped token.</returns>
 private string ETP(string prefix, string token,
                    string suffix = null) => _tokenHelper.ETP(prefix, token, suffix);
 /// <summary>
 /// Wraps the specified non-keyword token and its prefix according to
 /// the syntax of the SQL dialect being handled. For instance, in MySql
 /// this wraps a token into backticks, or in SQL Server into square
 /// brackets.
 /// </summary>
 /// <param name="prefix">The prefix.</param>
 /// <param name="token">The token.</param>
 /// <param name="suffix">An optional suffix to be appended at the end
 /// of the result.</param>
 /// <returns>The wrapped token.</returns>
 protected string ETP(string prefix, string token,
                      string suffix = null) => _tokenHelper.ETP(prefix, token, suffix);