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.
Connected.Framework/Connected.Expressions/Expressions/DeclarationExpression.cs

18 lines
547 B

2 years ago
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; }
}