using Connected.Expressions.Collections; using System.Collections.ObjectModel; using System.Linq.Expressions; namespace Connected.Expressions; public sealed class FunctionExpression : DatabaseExpression { public FunctionExpression(Type type, string name, IEnumerable? arguments) : base(DatabaseExpressionType.Function, type) { Name = name; if (arguments is not null) Arguments = arguments.ToReadOnly(); } public string Name { get; } public ReadOnlyCollection? Arguments { get; } }