You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using Connected.Expressions.Collections;
|
|
|
|
|
using System.Collections.ObjectModel;
|
|
|
|
|
|
|
|
|
|
namespace Connected.Expressions;
|
|
|
|
|
|
|
|
|
|
public sealed class DeclarationExpression : CommandExpression
|
|
|
|
|
{
|
|
|
|
|
public DeclarationExpression(IEnumerable<VariableDeclaration> variables, SelectExpression source)
|
|
|
|
|
: base(DatabaseExpressionType.Declaration, typeof(void))
|
|
|
|
|
{
|
|
|
|
|
Variables = variables.ToReadOnly();
|
|
|
|
|
Source = source;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ReadOnlyCollection<VariableDeclaration> Variables { get; }
|
|
|
|
|
public SelectExpression Source { get; }
|
|
|
|
|
}
|