Esempio n. 1
0
        public static SqlFunctionCallScalarExpression Create(
            string name,
            bool isUdf,
            IReadOnlyList <SqlScalarExpression> arguments)
        {
            SqlIdentifier sqlIdentifier;

            if (!SqlFunctionCallScalarExpression.FunctionIdentifiers.TryGetValue(name, out sqlIdentifier))
            {
                sqlIdentifier = SqlIdentifier.Create(name);
            }

            return(SqlFunctionCallScalarExpression.Create(sqlIdentifier, isUdf, arguments));
        }
Esempio n. 2
0
 public static SqlFunctionCallScalarExpression CreateBuiltin(SqlIdentifier name, params SqlScalarExpression[] arguments)
 {
     return(SqlFunctionCallScalarExpression.Create(name, false, arguments));
 }
Esempio n. 3
0
 public static SqlFunctionCallScalarExpression CreateBuiltin(SqlIdentifier name, IReadOnlyList <SqlScalarExpression> arguments)
 {
     return(SqlFunctionCallScalarExpression.Create(name, false, arguments));
 }