public static FunctionExpression Function(string name, params object[] parameters)
 {
     return(FunctionExpression.Expression(name, parameters.Select(x => Constant(x)).ToArray()));
 }
 public static FunctionExpression Function(string name, SqlExpression expression)
 {
     return(FunctionExpression.Expression(name, expression));
 }