TSF.UmlToolingFramework.Wrappers.EA.Model.formatSQLFunctions C# (CSharp) Метод

formatSQLFunctions() приватный Метод

Operation to translate SQL functions in there equivalents in different sql syntaxes supported functions: - lcase -> lower in T-SQL (SQLSVR and ASA)
private formatSQLFunctions ( string sqlQuery ) : string
sqlQuery string the query to format
Результат string
        private string formatSQLFunctions(string sqlQuery)
        {
            string formattedSQL = sqlQuery;
            //lcase -> lower in T-SQL (SQLSVR and ASA and Oracle and FireBird)
            if (this.repositoryType == RepositoryType.SQLSVR ||
            this.repositoryType == RepositoryType.ASA ||
               	this.repositoryType == RepositoryType.ORACLE ||
               	this.repositoryType == RepositoryType.FIREBIRD ||
               	this.repositoryType == RepositoryType.POSTGRES)
            {
            formattedSQL = formattedSQL.Replace("lcase(","lower(");
            }
            return formattedSQL;
        }