Deveel.Data.Sql.Statements.StatementVisitor.VisitCreateFunction C# (CSharp) Méthode

VisitCreateFunction() protected méthode

protected VisitCreateFunction ( CreateFunctionStatement statement ) : SqlStatement
statement CreateFunctionStatement
Résultat SqlStatement
        protected virtual SqlStatement VisitCreateFunction(CreateFunctionStatement statement)
        {
            var body = statement.Body;
            if (body != null)
                // TODO: Maybe the body should be generic to support this model
                body = (PlSqlBlockStatement) VisitStatement(body);

            return new CreateFunctionStatement(statement.FunctionName, statement.ReturnType, statement.Parameters, body) {
                ReplaceIfExists = statement.ReplaceIfExists
            };
        }